Project

General

Profile

Email (gmail) configuration

Added by Alessandro Gustavo over 9 years ago

Hello guys, how are you?
There is a problem with setup gmail to configuration.yml.

My redmine application show me when I try to send a test message:

Ocorreu um erro ao enviar o e-mail (execution expired)

My configuration.yml is:

production:
email_delivery:
delivery_method: :smtp
smtp_settings:
enable_starttls_auto: true
address: "smtp.gmail.com"
port: '587'
domain: "smtp.gmail.com"
authentication: :login
user_name: ""
password: "xxxxxx"

ps..: i have tried to change :authentication to :plain, but isn't working.

More info:

Environment:
Redmine version 2.5.3.stable.13559
Ruby version 2.0.0-p594 (2014-10-27) [x86_64-linux]
Rails version 3.2.19
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.8
Filesystem
Redmine plugins:
no plugin installed

I'm using nginx.

How can i fix this?
Thanks in advance.

--

Hey guys, I solved this question. My vps was with SMTP blocked, so I requested to allow smtp on my server. Redmine works!