# Action mailer not really sending emails

**URL:** <https://www.ruby-forum.com/t/action-mailer-not-really-sending-emails/60097>\
**Category:** Rails\
**Created:** [May 10, 2006, 6:25am UTC](https://www.ruby-forum.com/t/action-mailer-not-really-sending-emails/60097 "2006-05-10T06:25:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![conz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a5b964/32.png) [@conz](https://www.ruby-forum.com/u/conz)\
**Post date:** [May 10, 2006, 6:25am UTC](https://www.ruby-forum.com/t/action-mailer-not-really-sending-emails/60097/1 "2006-05-10T06:25:36Z")

</div>

I am trying to get the action mailer to send out emails from my server  
(windows 2003). I configured it to the local smtp server and when I try  
sending to email boxes that are on the local domain, the emails go  
through. However, when I try sending emails to my gmail account, they  
won’t get through. It gives me no errors. As far as I can tell there are  
no firewalls on our server that are on. I’m working in the development  
environment, but I don’t see why that would have anything to do with my  
emails not going through. Anyone have any idea what I’m missing?

~ct

---

<div class="post-metadata">

**Author:** ![conz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a5b964/32.png) [@conz](https://www.ruby-forum.com/u/conz)\
**Post date:** [May 10, 2006, 6:48pm UTC](https://www.ruby-forum.com/t/action-mailer-not-really-sending-emails/60097/2 "2006-05-10T18:48:53Z")

</div>

Any chance that GMail is rejecting messages from your SMTP server for  
any reason? Another possibility is that ActionMailer is in test mode -  
did you specifically set it to smtp?

By any means, try sending mail from your smtp to some address on the  
internet other than GMail. If that works, you’ll know its GMail.

---

<div class="post-metadata">

**Author:** ![conz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a5b964/32.png) [@conz](https://www.ruby-forum.com/u/conz)\
**Post date:** [May 10, 2006, 3:28pm UTC](https://www.ruby-forum.com/t/action-mailer-not-really-sending-emails/60097/3 "2006-05-10T15:28:23Z")

</div>

conrad turlik wrote:

> sending to email boxes that are on the local domain, the emails go  
> through. However, when I try sending emails to my gmail account, they

Have you looked at the log files for the smtp server ? It must be that  
if you’re okay locally.

Alan

---

<div class="post-metadata">

**Author:** ![conz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a5b964/32.png) [@conz](https://www.ruby-forum.com/u/conz)\
**Post date:** [May 11, 2006, 7:03am UTC](https://www.ruby-forum.com/t/action-mailer-not-really-sending-emails/60097/4 "2006-05-11T07:03:18Z")

</div>

ok, so i realized that i accidently had the flag on to suppress action  
mailer errors in the environment. and it’s giving me a 550 5.7.1 error,  
which means that the server couldn’t authenticate me as a legitimate  
user. when i tried all adding authentication to the environment for the  
actionmailer it said that auth login, auth plain, and auth cram\_md5 are  
unrecognized authentication (error 504 5.7.4) types for the smtp. any  
idea what to do? thanks in advance, and thanks to the people that  
responded before.

~ct

conrad turlik wrote:

> I am trying to get the action mailer to send out emails from my server  
> (windows 2003). I configured it to the local smtp server and when I try  
> sending to email boxes that are on the local domain, the emails go  
> through. However, when I try sending emails to my gmail account, they  
> won’t get through. It gives me no errors. As far as I can tell there are  
> no firewalls on our server that are on. I’m working in the development  
> environment, but I don’t see why that would have anything to do with my  
> emails not going through. Anyone have any idea what I’m missing?
> 
> ~ct
