Project

General

Profile

Email notification not working

Added by Koen vdH over 9 years ago

Hello all,

I'm pretty new on redmine. I installed redmine on my local windows 7 PC using the Bitnami installer. Everything works well, except for the E-mail notifications.

When I'm trying the send a test email (via admin-> settings), I get the following message:

An error occurred while sending mail (421 )

Does someone know what the 421-message means? And what is wrong?

In the "configuration.yml" file I have the following lines:

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: "myusername@gmail.com" 
      password: mypassword

I'm using the folling Redmine version:

Environment:
  Redmine version                3.0.3.stable
  Ruby version                   2.0.0-p645 (2015-04-13) [i386-mingw32]
  Rails version                  4.2.1
  Environment                    production
  Database adapter               Mysql2
SCM:
  Git                            1.9.5
  Filesystem                     
Redmine plugins:
  no plugin installed

Replies (2)

RE: Email notification not working - Added by Koen vdH over 9 years ago

Can someone please help me?

I searched the internet and tried several settings on the email-configuration (tls, ssl, etc), but none actually worked with Gmail. What am I doing wrong?

RE: Email notification not working - Added by Minh Vo about 9 years ago

Please try to config "authentication: plain" or it's only my luck :))

    (1-2/2)