How to use Gmail as your SMTP server for Youtrack?

前端 未结 4 714
没有蜡笔的小新
没有蜡笔的小新 2021-02-13 02:08

Youtrack allow to send email through 3rd party SMTP server. Fields are as follows:

  1. SMTP host: [?]
  2. SMTP port: [?]
  3. Mail protocol: [?]
  4. SMTP
4条回答
  •  春和景丽
    2021-02-13 02:37

    Minor addition to other answers.

    My account have no 2-step verification, but with this solution I didn't have to log in from browser on YouTrack server machine, neither didn't have to enable less secure apps.

    Config:

    • SMTP Host: smtp.gmail.com
    • SMTP Port: 587
    • Mail Protocol: SMTP+TLS
    • SMTP Login: user@gmail.com
    • SMTP Password: ****** (account password)
    • Select SSL key: (Nothing selected)
    • From address: YouTrack

    Next:

    1. Try to send test email (the button right below youtrack config).
    2. It will fail.
    3. Now just login into google account from your regular browser.
    4. You'll get a warning about recent blocked login attempt.
    5. Open warning and verify the login attempt from IP of your youtrack server.

    Done. Now you should be able to send test email successfully.

提交回复
热议问题