How to use Gmail as your SMTP server for Youtrack?

前端 未结 4 705
没有蜡笔的小新
没有蜡笔的小新 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:39

    I was using 2-Step Verification on my Gmail Account and this caused an error sending an email. To resolve first I created an App Password (see: https://support.google.com/accounts/answer/185833)

    NOTE: to be able to create an App Password it's absolutely necessary to enable 2-Step Verification in your google account. If you don't do it, you'll receive a message indicating that your account doesn't support App Passwords.

    Then using these settings I was able to send a test email:

    • SMTP host: smtp.gmail.com
    • SMTP port: 465 ;
    • Mail protocol: SMTP+SSL
    • SMTP login: user@gmail.com
    • SMTP password: #newly created app password# ;
    • Select SSL key: No key ;
    • Server 'from' email: user@domain.com.

提交回复
热议问题