LoginSignup
2
1

More than 3 years have passed since last update.

XSERVERのSMTPをECS(EC2)から使おうとすると送信できない

Last updated at Posted at 2020-03-15

問題

XSERVERのSMTPを使ってメールを送りたいのだが、送れなかった。
認証情報は合ってる、ローカルからもその情報で送れる。
ECSに上げるとエラーとなる。

エラー内容

Swift_TransportException
Expected response code 354 but got code "554", with message "554 5.5.1 Error: no valid recipients "

原因

サーバの置き場所がソウルでした

ということでアクセス制限設定を変更。

Artboard.png

無事送信できた。

2
1
1

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
2
1