LoginSignup
1
1

More than 5 years have passed since last update.

GAE上のnodemailerでホスト名を指定する

Posted at

GAE上に構築したNode.jsアプリからnodemailerでSMTP認証を利用してメールを送信する際、
https://nodemailer.com/smtp/ に記載のある

name – optional hostname of the client, used for identifying to the server, 
defaults to hostname of the machine

のパラメータを指定しないとうまくホスト名を取得できずメールサーバから拒否られる場合があった。

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