使用 PHP-EWS ( GarethP ),我试图setReplyTo喜欢这个:
use garethp\ews\API\Type;
use garethp\ews\MailAPI;
$api = MailAPI::withUsernameAndPassword("host", "username", "password");
$message = new Type\MessageType();
$message->setSubject("Some Subject");
$message->setBody("Test Email");
$message->setToRecipients("test@test.com");
$message->setReplyTo("me@there.com"); // <-- this is the 'ReplyTo' address I want to set.
$api->sendMail($message);
但这没有任何影响,然后收件人回复发件人/发件人地址。
Api 回调显示:
'replyTo' => NULL,
关于如何解决的任何想法?
GCT1015