How do I add "from" in an email message using Amazon SES in PHP?
How do I add "from" in an email message using Amazon SES in PHP?
I can't find it in their 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.
http://docs.amazonwebservices.com/AWSSDKforPHP/latest/#m=AmazonSES/send_email
The $source parameter is essentially the "From", if you mean "Reply-To" you can set that also within the $opt parameter.
精彩评论