# Mails are not being sent

**URL:** <https://www.ruby-forum.com/t/mails-are-not-being-sent/152868>\
**Category:** Rails\
**Created:** [November 8, 2008, 4:31pm UTC](https://www.ruby-forum.com/t/mails-are-not-being-sent/152868 "2008-11-08T16:31:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hola](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/e47774/32.png) [@hola](https://www.ruby-forum.com/u/hola)\
**Post date:** [November 8, 2008, 4:31pm UTC](https://www.ruby-forum.com/t/mails-are-not-being-sent/152868/1 "2008-11-08T16:31:43Z")

</div>

Hello  
I would be grateful if someone can help me step by step tp resolve this  
issue.  
I have my application on production environment.  
I define the SMTP server settings on config/environments/production.rb

as follows:  
config.action\_mailer.raise\_delivery\_errors = true  
config.action\_mailer.delivery\_method = :sendmail  
ActionMailer::Base.default\_url\_options[:host] =  
‘[SMTP.MyCorrectserver.com](http://SMTP.MyCorrectserver.com)’

and nothing defined in my environment.rb related to the mails sending,  
except the sender email as follow:  
DEFAULT\_MAILER = “removed\_email\_address@domain.invalid”

When I trail the error log production.log, the log says that my emails  
are sent successfully on production.  
But the emails are not sending.  
How can I figure out what the problem is.

Your quick response is highly appreciated.

Thanks alot.

Hola
