Project

General

Profile

Email Configuration

Added by junaid bs over 3 years ago

I have install redmine on centos 7 and configure the email in configuration.yml file. but i am still getting the message in email notification tab. Your help will be highly appreciated.

---------------
Environment:
Redmine version 4.0.7.stable.20698
Ruby version 2.6.6-p146 (2020-03-31) [x86_64-linux]
Rails version 5.2.4.2
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Subversion 1.7.14
Git 1.8.3.1
Filesystem
Redmine plugins:
no plugin installed

-------------
configuration.yml file

production:
email_delivery:
delivery_method: :smtp
smtp_settings:
address: smtp-relay.gmail.com
port: 587
domain: smtp-relay.gmail.com
authentication: :plain
user_name: *@gmail.com
password:
**


Replies (2)

RE: Email Configuration - Added by junaid bs over 3 years ago

I ma getting this notification

---------------
Email delivery is not configured, and notifications are disabled.
Configure your SMTP server in config/configuration.yml and restart the application to enable them.

RE: Email Configuration - Added by C S about 3 years ago

Try to add the line enable_starttls_auto: true

production:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      enable_starttls_auto: true
      address: smtp-relay.gmail.com
      port: 587
      domain: smtp-relay.gmail.com
      authentication: :plain
      user_name: your_email@gmail.com
      password: your_password

    (1-2/2)