Defect #14488
closedError sending mail throug gmail : An error occurred while sending mail (530-5.5.1 Authentication Required. Learn more at )
0%
Description
Hi,
i'm tryng to send mail through redmine but i receive the error above
An error occurred while sending mail (530-5.5.1 Authentication Required. Learn more at )
The configuration seems to be ok:
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: "theuser@gmail.com"
password: "password"
Environment info:
Redmine version 2.3.1.stable
Ruby version 1.9.3 (i686-linux)
Rails version 3.2.13
Environment production
Database adapter Mysql2
Any help will be appreciated, i can post all info that colud be required (i'm not a ruby expert but i do my best :) )
Updated by Antimo Di Comite almost 12 years ago
- Status changed from New to Resolved
SOLVED !
In case Anyone have the same problem:
In my installation (bitnami but i think it colud happen in every installation) in the file configuration.yml there was the following value (those value are NOT commented in this installation (?))
Those value overwrite mine (may be because mine are before thos in the file, so the authentication gone wrong.
May be those value have to be commented in a fresh installation so they will be useful only for example?
- default configuration options for all environments
default: # Outgoing emails configuration (see examples above)
email_delivery:
delivery_method: :smtp
smtp_settings:address: smtp.gmail.com
port: 587
domain: example.net
authentication: :login
user_name:
password:
Updated by Jan Niggemann (redmine.org team member) almost 12 years ago
- Status changed from Resolved to Closed
- Resolution set to Invalid
resolved -> closed