awsのsesでローカルからemailを送信したいんですが受信されません
エラーログも表示されません
awsからメールが送信されてるか確認する方法はありますか?
ruby
class MessageMailer < ApplicationMailer # Subject can be set in your I18n file at config/locales/en.yml # with the following lookup: # # en.message_mailer.hello.subject # default from: "test@sesのドメイン.com" def hello @greeting = "Hi" mail( to: '自分のアドレス@gmail.com', subject: 'Mail from Message', ) end end
ruby
irb(main):001:0> MessageMailer.hello Rendering layout layouts/mailer.html.erb Rendering message_mailer/hello.html.erb within layouts/mailer Rendered message_mailer/hello.html.erb within layouts/mailer (Duration: 0.8ms | Allocations: 378) Rendered layout layouts/mailer.html.erb (Duration: 1.3ms | Allocations: 604) Rendering layout layouts/mailer.text.erb Rendering message_mailer/hello.text.erb within layouts/mailer Rendered message_mailer/hello.text.erb within layouts/mailer (Duration: 0.3ms | Allocations: 111) Rendered layout layouts/mailer.text.erb (Duration: 0.6ms | Allocations: 268) MessageMailer#hello: processed outbound mail in 34.7ms => #<Mail::Message:16180, Multipart: true, Headers: <From: test@sesのドメイン.com>, <To: 自分のアドレス@gmail.com>, <Subject: Mail from Message>, <Mime-Version: 1.0>, <Content-Type: multipart/alternative; boundary="--==_mimepart_62a554f47c9b_5d8cdc047934"; charset=UTF-8>>
まだ回答がついていません
会員登録して回答してみよう