Project

General

Profile

Actions

Defect #14488

closed

Error sending mail throug gmail : An error occurred while sending mail (530-5.5.1 Authentication Required. Learn more at )

Added by Antimo Di Comite about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

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: ""
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 :) )

Actions #1

Updated by Antimo Di Comite about 11 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?

  1. 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:

Actions #2

Updated by Jan Niggemann (redmine.org team member) about 11 years ago

  • Status changed from Resolved to Closed
  • Resolution set to Invalid

resolved -> closed

Actions

Also available in: Atom PDF