No error but mail not sent?

Hello everyone!

In the console, it says "Email sent" with all informations. But when I check my inbox I got nothing.

Any help?

Thank you!

Check your spam folder?

Do you have a SMTP server running?


Get Rails out of the equation. Can you have your local smtp server send out emails directly, without using Rails?

Without knowing what your SMTP server is, not much we can do. One generic way is with telnet. A search for “telnet smtp send email” gives you this post:

Also, try locating the mail server’s logs and see if that points you on the right direction.

Hope that helps, -Harold

Are you running in Development mode? ActionMailer defaults to not raising errors in Development mode. Edit this line in your config/ environments/development.rb file (If the line doesn't exist, add it)

config.action_mailer.raise_delivery_errors = true

This will at least trigger an error, which can help you identify the root cause.