Project

General

Profile

Can't set up gmail: An error occurred while sending mail (getaddrinfo: Name or service not known)

Added by Hans Squizzle almost 13 years ago

HI there:

I've tried configuring Redmine to send email through gmail according to the following instructions: http://redmineblog.com/articles/setup-redmine-to-send-email-using-gmail/

However, when I send a test email I get the following error: "An error occurred while sending mail (getaddrinfo: Name or service not known)"

Anyone know what I'm doing wrong? I've scoured through these forums and Google to no avail. I also tried changing the address to localhost. I'm using Redmine 1.2, ruby 1.8.7, rails 2.3.11.
Thanks a lot.


Replies (1)

RE: Can't set up gmail: An error occurred while sending mail (getaddrinfo: Name or service not known) - Added by Yecine Yecine over 12 years ago

I have the same problem ... did you finally solved it ?

Can you help me ?

i'm using redmine 1.2.2 and i have configured the file config/configuration.yml

production:
email_delivery:
delivery_method: :smtp
smtp_settings:
tls: true
enable_starttls_auto: true
address: "smtp.gmail.com"
port: 587
authentication: :plain
user_name: "xxxx"
password: "xxxxx"

    (1-1/1)