1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

サーバーのSMTP機能にGmailを使う(アプリパスワード取得方法;2023.10.15最新版)

Posted at

Gmailでアプリパスワードを使ってSMTP送信したいが、コロコロ変わってて最新の入手方法がないのでメモ。

手順

  1. Googleアカウント設定ページ↓に行く。

  1. 「2段階認証プロセス」を押す。
    image.png

  2. 一番下まで行って「アプリパスワード」を押す
    image.png

  3. 適当な名前を打ち込むと、パスワードが表示される(1度しか表示されない)
    image.png

セットアップの例(elabftwの場合)

インデックス 内容
Address of the SMTP server smtp.gmail.com
SMTP Port 587
SMTP username (アカウント名@gmail.com)
SMTP password (入手した16桁のアプリパスワード)
Sender address (アカウント名@gmail.com)
Verify TLS certificate Yes
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?