20
20

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 5 years have passed since last update.

MastodonのメールをGmailから送る

Posted at

オレオレドンを立ててたんですが、概ねはReadme通りでよかったんですが、メールのあたりでちょっとつまづいたので記録に残します。

と言うか、ここ
http://karur4n.hatenablog.com/entry/2015/03/07/234600
を読めば解決なんですが、Gmailを利用するに当たって、Gmailアカウント側の用意も必要ですというお話でした。

それさえできれば、

SMTP_LOGIN=ユーザーID@gmail.com
SMTP_PASSWORD=Gmailのパスワードかアプリパスワード。上のサイト参照

SMTP_SERVER=smtp.gmail.com
SMTP_PORT=587
SMTP_OPENSSL_VERIFY_MODE=none
SMTP_DOMAIN=gmail.com

って感じでよろしいかと。

一応この辺もみとくいいかも。
https://github.com/tootsuite/mastodon/blob/7609593e4833e32064313148c616053022274408/config/environments/production.rb#L98

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?