# Actionmailer issues...any experts?

**URL:** <https://www.ruby-forum.com/t/actionmailer-issues-any-experts/163477>\
**Category:** Rails\
**Created:** [March 20, 2009, 7:16pm UTC](https://www.ruby-forum.com/t/actionmailer-issues-any-experts/163477 "2009-03-20T19:16:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tony](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ee7513/32.png) [@tony](https://www.ruby-forum.com/u/tony)\
**Post date:** [March 20, 2009, 7:16pm UTC](https://www.ruby-forum.com/t/actionmailer-issues-any-experts/163477/1 "2009-03-20T19:16:55Z")

</div>

I have a rails app that can send emails to gmail, yahoo accounts. But  
when it comes to more obscure accounts like removed\_email\_address@domain.invalid or  
removed\_email\_address@domain.invalid, the mail never arrives even though the log shows  
that  
the email was sent. Any ideas why this may be happening?

I have sent an email directly through the same web server through the  
command line using

mail -s and that worked. Why doesn’t it work through my rails app?

here are my configuration settings (mostly default)

# Disable delivery errors, bad email addresses will be ignored

config.action\_mailer.delivery\_method = :smtp  
config.action\_mailer.raise\_delivery\_errors = true  
config.action\_mailer.perform\_deliveries = true  
config.action\_mailer.default\_charset = “utf-8”

config.action\_mailer.smtp\_settings = {  
:address =\> “localhost”,  
:port =\> 25,  
:domain =\> “[my-app.com](http://my-app.com)”  
}

help please!

thanks  
Tony
