awsのsesでローカルからemailを送信したいんですが受信されません
エラーログも表示されません
awsからメールが送信されてるか確認する方法はありますか?
ruby
1class MessageMailer < ApplicationMailer 2 3 # Subject can be set in your I18n file at config/locales/en.yml 4 # with the following lookup: 5 # 6 # en.message_mailer.hello.subject 7 # 8 default from: "test@sesのドメイン.com" 9 def hello 10 @greeting = "Hi" 11 12 mail( 13 to: '自分のアドレス@gmail.com', 14 subject: 'Mail from Message', 15 ) 16 end 17end
ruby
1irb(main):001:0> MessageMailer.hello 2 Rendering layout layouts/mailer.html.erb 3 Rendering message_mailer/hello.html.erb within layouts/mailer 4 Rendered message_mailer/hello.html.erb within layouts/mailer (Duration: 0.8ms | Allocations: 378) 5 Rendered layout layouts/mailer.html.erb (Duration: 1.3ms | Allocations: 604) 6 Rendering layout layouts/mailer.text.erb 7 Rendering message_mailer/hello.text.erb within layouts/mailer 8 Rendered message_mailer/hello.text.erb within layouts/mailer (Duration: 0.3ms | Allocations: 111) 9 Rendered layout layouts/mailer.text.erb (Duration: 0.6ms | Allocations: 268) 10MessageMailer#hello: processed outbound mail in 34.7ms 11=> #<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>>