Project

General

Profile

Fail to send test email with Gmail smtp

Added by szu ming wu over 3 years ago

Redmine version : 4.1.1
OS : Windows 10
Ruby version : ruby 2.6.6p146 (2020-03-31 revision 67876) [x64-mingw32]
Rails version : 5.2.4.2

I've install redmine in my PC and try to start email notification
When I try to send test email, some error message shows

530 5.7.0 Must issue a STARTTLS command first.

Following is my email config in configuration.yml

production:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address: "smtp.gmail.com" 
      port: 587
      domain: "smtp.gmail.com" 
      authentication: :plain
      user_name: "myaccount" 
      password: "mypassword" 
      enable_starttls_auto: true

I'm not sure if this is Gmail setting error
Or ruby setting error?


Replies (1)

RE: Fail to send test email with Gmail smtp - Added by RedChris B. over 3 years ago

Your settings in configuration.yml looks fine.
Pls check settings at Gmail (enable less secure apps to use gmail).

    (1-1/1)