Redmine and Gmail configuration problem
Added by Sebastián Fiorentino over 11 years ago
Hi, I'm trying to set up the email notification using a gmail account.
But when I send a testing email redmine shows the following message.
"An error occurred while sending mail (Permission denied - connect(2))"
My configuration.yml
default:
# Outgoing emails configuration (see examples above)
email_delivery:
delivery_method: :smtp
smtp_settings:
address: smtp.gmail.com
port: 587
domain: smtp.gmail.com
authentication: :plain
user_name: "myaccount@gmail.com"
password: mypassword
enable_starttls_auto: true
Environment:
Redmine version 2.1.4.stable
Ruby version 1.8.7 (x86_64-linux)
Rails version 3.2.8
Environment production
Database adapter MySQL
Redmine plugins:
no plugin installed
Running on Apache.
OS:
CentOS release 6.2 (Final)
Please, I read a lot of forum threads, how-tos and wiki pages and still does not work.
Thanks in advance!
Replies (1)
RE: Redmine and Gmail configuration problem
-
Added by Cliff Pereira over 11 years ago
I'm not sure if the indent is crucial. Means, you should keep the exact formatting as given.
Here are my settings and they work as a charm.
production: email_delivery: delivery_method: :smtp smtp_settings: enable_starttls_auto: true address: "smtp.gmail.com" port: '587' domain: "smtp.gmail.com" authentication: :plain user_name: "mymail@gmail.com" password: "mypassword"