How to use Gmail as your SMTP server for Youtrack?

前端 未结 4 715
没有蜡笔的小新
没有蜡笔的小新 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条回答
  •  猫巷女王i
    2021-02-13 02:32

    The other two answers are correct, but are alternatives:

    • if your google account is configured to use 2-step verification you must use an AppPaswword. In this case you cannot enable less secure apps.
    • if your google account is not configured to use 2-step verification, you must enable less secure apps, and log to your account from a browser in the machine where youtrack is installed (as pointed out in the comment). In this case you cannot create App Passwords.

    Additional notes:

    • as you can see, the youtrack configuration is the same in both cases, save for the password, which is the AppPassword if you use the first option, or the account password, if you use the second one.
    • in the from email, the email account is ignored, but you can specify a friendly name if you use this syntax: "Friendly Name " When someone receives a notification he'll see From: Friendly Name. The account, whichever you specify, will be replaced by the google account you're configuring.

提交回复
热议问题