Как добавить «из» в сообщение электронной почты, используя Amazon SES в PHP? - PullRequest
1 голос
/ 25 апреля 2011

Как добавить «из» в сообщение электронной почты, используя Amazon SES в PHP?

Я не могу найти его в их SDK:

 * Keys for the $destination parameter:
 *  ToAddresses - _string_|_array_ (Optional) The To: field(s) of the message. Pass a string for a single value, or an indexed array for multiple values.
 *  CcAddresses - _string_|_array_ (Optional) The CC: field(s) of the message. Pass a string for a single value, or an indexed array for multiple values.
 *  BccAddresses - _string_|_array_ (Optional) The BCC: field(s) of the message. Pass a string for a single value, or an indexed array for multiple values.

1 Ответ

1 голос
/ 25 апреля 2011

http://docs.amazonwebservices.com/AWSSDKforPHP/latest/#m=AmazonSES/send_email

Параметр $ source по сути является «From», если вы имеете в виду «Reply-To», вы можете установить его также в параметре $ opt.

...