LoginSignup
1
1

More than 5 years have passed since last update.

Railsチュートリアル-本番環境でメールが送れないとき

Posted at

Railsチュートリアルの「11.4 本番環境でのメール送信」について。
https://railstutorial.jp/chapters/account_activation?version=5.1#sec-activation_email_in_production

チュートリアルの手順を実施してもメールが送れなかったので解決方法をメモ。

症状

メールが送れない。

SenderGridの状態を確認。
herokuのappのページ -> Resources -> Add-onsのSendGrid -> Activityを開く。
すると、sample_appからのメール送信リクエストは受け取っているが、
ステータスが"Processed"で止まっていた。

原因

SenderGridのページの上部を見ると、
アカウントがSuspendされているというメッセージが表示されていた。
これが原因。

解決方法

SenderGridのサポートに、アカウントのSuspendを解除してもらうように依頼。
それで解決。

参考ページ

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