当前位置: 首页>>代码示例>>PHP>>正文


PHP Emails::postEmails方法代码示例

本文整理汇总了PHP中Emails::postEmails方法的典型用法代码示例。如果您正苦于以下问题:PHP Emails::postEmails方法的具体用法?PHP Emails::postEmails怎么用?PHP Emails::postEmails使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Emails的用法示例。


在下文中一共展示了Emails::postEmails方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

// ------------------------- REQUESTS ---------------------------
// DOCUMENTS
echo $docRequest->deleteDoc('7a6a7f74-3b82-e511-bf04-008cfa482110');
echo $docRequest->getDoc('name%20eq%20%27test%20-2%20-%20test%27');
echo $docRequest->getDocId('e10f2106-8c72-e511-befe-98991b71acc0');
echo $docRequest->getDocIdRev('3c7168e7-4b82-e511-bf04-008cfa482110');
echo $docRequest->getDocIdRevId('e10f2106-8c72-e511-befe-98991b71acc0', 'b5d82c06-8c72-e511-befe-98991b71acc0');
echo $docRequest->getDocIndexFields('3c7168e7-4b82-e511-bf04-008cfa482110');
echo $docRequest->getDocIndexFieldsId('3c7168e7-4b82-e511-bf04-008cfa482110', '6684bdbe-4f82-e511-bf04-008cfa482110');
echo $docRequest->getDocRevIndexFields('3c7168e7-4b82-e511-bf04-008cfa482110', '8767a182-5282-e511-bf04-008cfa482110');
echo $docRequest->getDocRevIndexFieldsId('3c7168e7-4b82-e511-bf04-008cfa482110', '8767a182-5282-e511-bf04-008cfa482110', '6684bdbe-4f82-e511-bf04-008cfa482110');
echo $docRequest->putDocIndexFieldsId('3c7168e7-4b82-e511-bf04-008cfa482110', '9112ae85-b481-e511-bf03-008cfa482110', 'pizzas');
echo $docRequest->putDocIndexFields('3c7168e7-4b82-e511-bf04-008cfa482110', "{\"cool index field\":\"change you\",\"favorite foods\":\"mountain dew\"}");
echo $docRequest->postDoc('10000000-1000-2000-1111-100000000010', 1, 'file54.txt', 'a test file', 'file53.txt', '{}');
// EMAILS
echo $emailRequest->postEmails('example@gmail.com,example2@gmail.com', '', 'php email subject', 'this was sent from php. this is the body.');
// FILES
$filesRequest->getFile('6db0b14a-a781-e511-bf03-008cfa482110', '/home/jr/Desktop/hello2.txt');
$filesRequest->postFile('/home/jr/Desktop/hello2.txt', 'text/plain', 'helloWorld2.txt', '3c7168e7-4b82-e511-bf04-008cfa482110', 'GEN-15', '5', 'Released', "{\"index field label\":\"the value\"}");
// FOLDERS
echo $foldersRequest->getFolder('test%20folder');
echo $foldersRequest->getFolderId('10000000-1000-2000-1111-100000000010');
echo $foldersRequest->getSubFolders('10000000-1000-2000-1111-100000000010');
echo $foldersRequest->getFolderDocs('10000000-1000-2000-1111-100000000010');
echo $foldersRequest->getFolderIndexFields('40ac2b37-9a72-e511-befe-98991b71acc0');
echo $foldersRequest->getFolderIndexFieldsId('40ac2b37-9a72-e511-befe-98991b71acc0', '9febe65a-6d82-e511-bf04-008cfa482110');
echo $foldersRequest->getSelectOptions('40ac2b37-9a72-e511-befe-98991b71acc0', '9febe65a-6d82-e511-bf04-008cfa482110');
echo $foldersRequest->postFolder('folder3', 'folder description', true);
echo $foldersRequest->postSubFolder('52fdb979-7282-e511-bf04-008cfa482110', 'folder4', 'folder description', true);
echo $foldersRequest->putFolderIndexFields('40ac2b37-9a72-e511-befe-98991b71acc0', '9febe65a-6d82-e511-bf04-008cfa482110', '75646376-697e-e511-bf02-008cfa482110', '75646376-697e-e511-bf02-008cfa482110', false, 'KQ');
// FORM INSTANCE
开发者ID:VisualVault,项目名称:php-rest-client-library,代码行数:31,代码来源:requests.php


注:本文中的Emails::postEmails方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。