After searching for the Internet for half a day, I had a lot of answers and finally tried to find a solution.
1. Locate the installation location
D: \ bitnami \ redmine-2.5.2-2 \ apps \ redmine \ htdocs \ config file configuration. yml
This file contains an initial email configuration.
# default configuration options for all environmentsdefault: # 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:
Then you can search for emails on the Internet. Most of them are for emails such as Gmail and 163. However, if you want to configure the internal mailbox used by the enterprise, according to the statement on the internet, it will not work.
Later I found a colleague's explanation on the Internet: http://wangzhe.me/archives/1352
After redmine is installed, enable email notification. If you send a test email, the following error occurs: "hostname was not match with the server certificate" solution: Modify redmine/config/configuration. yml # default configuration options for all environmentsdefault: # outgoing emails configuration (see examples above) email_delivery: delivery_method: smtpsmtp_settings: TLS: falseaddress: mail server address port: 25 domain: email server address authentication: loginuser_name: [email protected] Password: 123456openssl_verify_mode: 'none' authentication: Plain changed to login and added a line of openssl_verify_mode: 'none'
It is very important to note that the above is the address of your mail server, for example, 163 will be smtp.163.com, and outlook is mostly exchange. This supports the SMTP protocol, email is your enterprise email password, and both ports 25 and 587 should support email.
Send.
This is the latest version configuration method.
Redmine email Configuration