Project

General

Profile

Email is not being sent by SMTP in bitnami redmine(4.1.0-8)

Added by Mohit Aggarwal over 4 years ago

Email is not being sent by SMTP in bitnami redmine(4.1.0-8).The following error is coming: 'Email delivery error: SMTP From address may not be blank: nil'.This is my configuration.yml file.

delivery_method: :smtp 
smtp_settings:
address: 'smtp.gmail.com'
port: 587
domain: 'mycompanydomain.com'
authentication: :login
user_name: 'username'
password: 'password'

This configuration.yml file is working perfectly fine in bitnami redmine(4.1.0-0).


Replies (4)

RE: Email is not being sent by SMTP in bitnami redmine(4.1.0-8) - Added by Ni Mo over 4 years ago

I encountered this situation too, I installed sendmail and mailutils, and make sure the command 'mail' is available, then things worked out.
I don't know whether it is the solution for you.

RE: Email is not being sent by SMTP in bitnami redmine(4.1.0-8) - Added by Go MAEDA over 4 years ago

Can you find any related information in log/production.log file?

RE: Email is not being sent by SMTP in bitnami redmine(4.1.0-8) - Added by Steve Zhou over 4 years ago

It's solved, and I confirmed that this change started from version 4.1.0-8.
I tested all of the package from ver.4.1.0-0 to ver.4.1.1-4, except ver.4.1.0-9, as I didn't download it in time.
Before ver.4.1.0-8, you can set any text in "Emission email address", but after that version, you should set the same email address as configuration.yml.

Please follow the solution steps as below.
1. Move to the page "Administration -> Settings -> Email Notifications".
2. Set the same username, which is set in configuration.yml, in item "Emission email address", such like, , or SteveZhou<>.

    (1-4/4)