This forum is no longer active. Please post your questions to our new community site

Forums Redmine

Troubles getting Gmail email notification work in redmine Redmine 1.0.0-0

Subscribe to Troubles getting Gmail email notification work in redmine Redmine 1.0.0-0 3 post(s), 2 voice(s)

 
Avatar rjelassi 4 post(s)

Hi all,

I just installed for the first time the Bitrami redmine application on my windows 7 Pro, i mean here both RubyStack 2.1-0 (which involves Ruby 1.8.7 and Rails 2.3.5) and also Redmine 1.0.0-0 (according to the description found on the Bitnami site itself.

Well, i started to test many functionalities and it was really great to discover Resmine, however i am still having a big trouble to get the email notificatrion work!
I found a lot of post on this site and on the redmine site from people getting serious problems to get the notification really work and i am sad to be one of them.
Actually, after installing the Bitnami application i did not modify any file but only the email.yml file whose content looks as the following:

1. Outgoing email settings

production:
delivery_method: :smtp
smtp_settings:
enable_starttls_auto: true
tls: true
address: smtp.gmail.com
port: 587
domain: smtp.gmail.com
authentication: :plain
user_name: myusername@gmail.com
password: mygmailpassworf

development:
delivery_method: :smtp
smtp_settings:
enable_starttls_auto: true
tls: true
address: smtp.gmail.com
port: 587
domain: smtp.gmail.com
authentication: :plain
user_name: myusername@gmail.com
password: mygmailpassworf

I restarted the apache webserver using the “C:\Program Files\BitNamiRubyStack\apache2\bin\ApacheMonitor” ( this is the only way i am actually using to restart/stop my web server).
I tried than to access the “email notifications” tab in the redmine webapp in order to send send a test email, but unfortunately i got the following error:

“An error occurred while sending mail (530 5.7.0 Must issue a STARTTLS command first. e31sm2246494wbe.17 )”

I really don’t get it! all the available posts suggest that no plugin is needed to support TLS for the recent redmine version so why i still have this error while attempting to send the test email to my gmail account?
It seems also that any further changement that can occur in the email.yml file is not really taken into account by the redmine application even after restarting the web server (using always the ApacheMonitor)!!
Even deleting the email.?yml ( just for testing purpose) semms not to bother redmine whi still displays the same error message mentionned above ( and yes i restarted the apache2 server using always the ApacheMonitor !)

Well I followed all instructions I could find but i don’t understand the redmine behaviour regarding this functionality. So can anyone please help me to get all this fixed?

Thank you all for your support.

 
Avatar rjelassi 4 post(s)

I just forgot to mention that the spaces are well defined in the email.yml file too

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

I configured the sending email feature in the 1.0.0 version and it is necessary to install the Tls plugin. Following the following guide http://redmineblog.com/articles/setup-redmine-t… I did not have any problem to configure it.

Forums Redmine