开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜