【问题标题】:How do I add "from" in an email message using Amazon SES in PHP?如何在 PHP 中使用 Amazon SES 在电子邮件中添加“发件人”?
【发布时间】:2011-04-25 15:35:08
【问题描述】:

如何使用 PHP 中的 Amazon SES 在电子邮件中添加“发件人”?

我在他们的 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.

【问题讨论】:

    标签: php email amazon amazon-ses


    【解决方案1】:

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

    $source 参数本质上是“From”,如果您的意思是“Reply-To”,您也可以在 $opt 参数中设置它。

    【讨论】:

      猜你喜欢
      • 2020-04-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-08-13
      • 2016-05-14
      • 1970-01-01
      • 2012-05-19
      • 2016-06-04
      相关资源
      最近更新 更多