C
C
caution2015-12-18 18:23:52
Ruby on Rails
caution, 2015-12-18 18:23:52

Why doesn't devise want to send emails?

Devise from the seller does not want to send confirmation emails to mail.ru, gwu.edu did not find others yet. Has anyone encountered a similar problem?
I tried to test from the console like this:
ActionMailer::Base.mail(from: "[email protected]", to: "[email protected]", subject: "Test", body: "Test").deliver
It works.
ActionMailer::Base.mail(from: "[email protected]", to: "[email protected]", subject: "Test", body: "Test").deliver
Doesn't reach for the life of me.
There are no errors.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton, 2015-12-18
@hummingbird

The sender's address must exist. He exists?
It just might be a problem in some cases.
Are you using the sendmail method? If yes, then as an option - test smtp. Although, I have ActionMailer and everything sends fine with sendmail.

I
Ilya Lozer, 2015-12-22
@ammet

Look at the mail.ru box in the Spam folder

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question