Project

General

Profile

email notification error (An error occurred while sending mail (535 5.7.8 Error: authentication failed: authentication failure )

Added by Gulab Pasha over 13 years ago

Hi,

I have configure redmine successfully and it is working fine except my email notification.

I have set my smtp details in email.yml config file but still when try to send an test mail it gives an error.

Please find below email.yml config settings.

delivery_method: :smtp
smtp_settings:
address: mail.sfdlabs.com
port: 25
domain: sfdlabs.com
authentication: :login
user_name: "redmine"
password: "my-password"

Please help.

Thanks,
Gulab Pasha


Replies (7)

RE: email notification error (An error occurred while sending mail (535 5.7.8 Error: authentication failed: authentication failure ) - Added by Felix Schäfer over 13 years ago

From the error you are getting from the SMTP server, your credentials are wrong. Please contact the administrator of you mail server for more information (he could e.g. have a look at the logs and might be able to tell you more about the problem.)

RE: email notification error (An error occurred while sending mail (535 5.7.8 Error: authentication failed: authentication failure ) - Added by Gulab Pasha over 13 years ago

Hi,

My error log says the same thing as below.

root@sfdlabs:/var/www/redmine/log# cat production.log | grep error
The following error occured while sending email notification: "535 5.7.8 Error: authentication failed: authentication failure

And I'm using correct authentication details. After setting email.yml config do i need to restart the service of redmine or it will tale automatically.

RE: email notification error (An error occurred while sending mail (535 5.7.8 Error: authentication failed: authentication failure ) - Added by Felix Schäfer over 13 years ago

Gulab Pasha wrote:

root@sfdlabs:/var/www/redmine/log# cat production.log | grep error
The following error occured while sending email notification: "535 5.7.8 Error: authentication failed: authentication failure

I meant the logs from the mailserver.

And I'm using correct authentication details. After setting email.yml config do i need to restart the service of redmine or it will tale automatically.

No, you have to restart redmine for changes to eamil.yml to get picked up.

RE: email notification error (An error occurred while sending mail (535 5.7.8 Error: authentication failed: authentication failure ) - Added by Gulab Pasha over 13 years ago

Thanks,

I'm just new to the redmine. How do i restart redmine for changes to email.yml to get picked up.

(mongrel_rails start -e production -p 3000 -d)???

    (1-7/7)