0
0

More than 5 years have passed since last update.

【AWS】SESでメールが送信できなかったら

Posted at

自分の環境(EC2)でSESがうまくいかなかったので、メモ。

環境:EC2, PHPSDK, SES

■サーバの時刻が遅れている場合

・サーバーの時刻を知る。
$ date

・時刻の確認
http://ja.thetimenow.com/utc/coordinated_universal_time

時間がずれていたら、手動もしくはNTPサーバーの同期させる

■手動の場合
sudo date -s "date --date '5 minutes' '+%F %T'"

念のため、ログをとるようにしておく

/etc/ntp.conf

logconfig +clockall +peerall +sysall +syncall
logfile /var/log/ntp.log

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0