redmine can not send mail
Added by calvin li over 1 year ago
Hello everyone,
one day in my Redmine, I was unable to send emails. When configuring email notifications sending test emails, it was displayed as' Error sending email (504 5.7.4 Unrecognized authentication type) '. My email configuration file is d:\bitnamiredmin\apps\redmine\htdocs\config\configuration.yml,
email_delivery:
delivery_method: :smtp
smtp_settings:
enable_starttls_auto: true
address: MAIL1.ABC.COM
port: 587
#tls: false
domain: MAIL1.ABC.COM
authentication: :login
user_name: WWW
password: WWWW
#openssl_verify_mode: none
someone can tell me why?
Replies (1)
RE: redmine can not send mail - Added by Brian BB over 1 year ago
possibly the port. 587 is used by MS Exchange for the Client Front End connector.
The Config example also is referring to port 587 on GMail, but the authentication type is plain.
But if I compare the syntax of your yml file to mine, the indents might be needed?
default: #this line was missing
email_delivery:
delivery_method: :smtp
smtp_settings:
enable_starttls_auto: true
address: mail.sgssemi.com
port: 587
#tls: false
domain: sgssemi.com #this is supposed to be your mail domain... not your mail server
authentication: :login
user_name: bj_nasnotice@sgssemi.com
password: BJNas@email2022
#openssl_verify_mode: none
Receiving Email only:
Redmine email supports pop and imap. Try port 995 (POP port with SSL) or port 993 (IMAP port with SSL)
(note: you will also have to enable the POP or IMAP services on the email server you are using)