Dondariadmin (トーク | 投稿記録) (ページの作成:「Amazon Web Services(以下AWS)のひとつ、Amazon Simple Email Service(以下 AmazonSES)をsymfony1.4で使ってみたメモ。 == AmazonSESの設定 == Webコンソ...」) |
Dondariadmin (トーク | 投稿記録) |
||
73行目: | 73行目: | ||
$this->getMailer()->composeAndSend('sender@dondari.com', 'okurisaki@dondari.com', 'subject', 'body'); | $this->getMailer()->composeAndSend('sender@dondari.com', 'okurisaki@dondari.com', 'subject', 'body'); | ||
+ | |||
+ | [[Category:PHP]] | ||
+ | [[Category:symfony]] | ||
+ | [[Category:AmazonWebServices]] |
Amazon Web Services(以下AWS)のひとつ、Amazon Simple Email Service(以下 AmazonSES)をsymfony1.4で使ってみたメモ。
WebコンソールであるAWS Management Consoleから送信元アドレスの認証を行います。
Server name: email-smtp.us-east-1.amazonaws.com Port: 465
all: mailer: param: delivery_strategy: realtime transport: class: Swift_SmtpTransport param: host: email-smtp.us-east-1.amazonaws.com port: 465 encryption: tls username: AKI................. password: AuT.........................................
$this->getMailer()->composeAndSend('sender@dondari.com', 'okurisaki@dondari.com', 'subject', 'body');Tweet