Hi,
I have the following configuration in the development.rb defined for
sending mail thorugh rails.
The same works on a local machine but it does not work on the server. I
get a timeout error : execution expired. Can anyone tell me whats wrong.
config.action_mailer.delivery_method = :smtp
#these options are only needed if you choose smtp delivery
config.action_mailer.smtp_settings = {
:address => "mail.domainname.com",
:port => 25,
:authentication => :login,
:user_name => "abc@domainname.com",
:password => '1234567'
}
Please help me.
Thank you.
on 01.04.2008 19:55
on 01.04.2008 20:09
Are you able to use smtp on the server without Rails? As it is timing out I would guess your smtp settings on the server are not correct.
on 01.04.2008 20:29
harm wrote: > Are you able to use smtp on the server without Rails? As it is timing > out I would guess your smtp settings on the server are not correct. Hi, The same settings work on the local machine. I am able to send mail using outlook, so smtp is working fine.