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 -- Posted via http://www.ruby-forum.com/.
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, theyHave you looked at the log files for the smtp server ? It must be that if you''re okay locally. Alan -- Posted via http://www.ruby-forum.com/.
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. -- Posted via http://www.ruby-forum.com/.
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-- Posted via http://www.ruby-forum.com/.
Can you do it manually using telnet? http://www.activexperts.com/activemail/telnet/ If you can get that working you can probably work it out for yourself. Remember you''ll need a public domain name to send email to gmail.com e.g. your server is mail.somedomain.com>telnet mail.gmail.com 25220 some gmail.com message ready. helo mail.somedomain.com here gmail would do a dns lookup on mail.somedomain.com to make sure you are who you say you are to prevent spoofed mails Ross> -----Original Message----- > From: rails-bounces@lists.rubyonrails.org > [mailto:rails-bounces@lists.rubyonrails.org]On Behalf Of conrad turlik > Sent: Thursday, 11 May 2006 3:03 PM > To: rails@lists.rubyonrails.org > Subject: [Rails] Re: action mailer not really sending emails > > > 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 > > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >