 Email issue
Email issue
Added by Andrew Murdoch about 10 years ago
Hey Guys
I configured all the email settings correctly, but when I try to send a test email I get:
An error occurred while sending mail (Net::ReadTimeout)
my configuration.yml has in it:
default:
#  # Outgoing emails configuration (see examples above)
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      ssl: true
      enable_starttls_auto: true
      address: "mx10.cdoc.ca" 
      port: 50443
      domain: "mx10.cdoc.ca" 
      authentication: :login
      user_name: "redmine@jentu.net" 
      password: "xxxx" 
These email settings are correct for my email server.
Doe anyone know what's happening?
Replies (2)
     RE: Email issue
    -
    Added by Minh Vo about 10 years ago
    RE: Email issue
    -
    Added by Minh Vo about 10 years ago
  
  Hi Andrew,
(It's just my experience. I am not sure if it can resolve for other cases.)
"Net::ReadTimeout" means that redmine can't reach to your smtp address. So you should check if
1. Your redmine server can ping to your smtp server and
2. remove the ':' before login --> "authentication: login" 
3. address and domain are correct specially if you buy email hosting services
Hope it help.
Regards,
Minh
     RE: Email issue
    -
    Added by Andrew Murdoch about 10 years ago
    RE: Email issue
    -
    Added by Andrew Murdoch about 10 years ago
  
  We run the email server ourselves and the settings I passed to redmine are the ones we use in all the email applications so I know the address, ports and etc... are correct. The ping test past and I removed the extra :.
Thanks
Andrew