Youtrack allow to send email through 3rd party SMTP server. Fields are as follows:
Here is what I finally did:
smtp.gmail.com ;465 ;SMTP+SSL ;user@domain.com or user@gmail.com ;****** ;No key ;user@domain.com.Gmail will ignore the from parameter so I put the same.
The other two answers are correct, but are alternatives:
Additional notes:
from email, the email account is ignored, but you can specify a friendly name if you use this syntax: "Friendly Name <myacount@gmail.com>" 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.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.gmail.com587SMTP+TLSuser@gmail.com****** (account password)(Nothing selected)YouTrack <user@domain.com> Next:
Done. Now you should be able to send test email successfully.
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: