SMTP

ehendricks
New Contributor III

I cannot for the life of me set up SMTP outgoing email settings correctly (testing has been a headache). I have used several variations. Right now, we are using Google SSL (as far as I know). Anyone have advice as to what works/doesn't work in the SMTP settings? I have a lot of experience in email settings/configuration, but this has stumped me. Any help is much appreciated. Thanks!

12 REPLIES 12

talkingmoose
Moderator
Moderator

The same SMTP settings you'd use in your email client should work for the JSS as well. Don't forget you'll need to use authentication to send through a third party server. Make sure you're not using an account that requires two-factor authentication.

You might also verify port 465 (SSL) or 587 (TLS) isn't blocked from your server. Google usually takes either.

If you still can't get this to work then test with a non-Google account such as iCloud or Outlook.com. If you have problems making those work then you probably have something outside your JSS causing interference.

adamcodega
Valued Contributor

Double check the Google Apps documentation, it looks like they've added material on selecting the right SMTP configuration based on your device. Also, to be honest I've made the mistake of typing smtp.google.com instead of smtp.gmail.com.

rderewianko
Valued Contributor II

+1 for the Google apps relay.. Plug in the ip of the jss, and it won't complain about auth.
https://support.google.com/a/answer/2956491?hl=en

adamcodega
Valued Contributor

Just tested this on my Google Apps account. On the JSS config I used smtp.gmail.com, port 465, and I set encryption to SSL. I enabled "Requires authentication" with timeout set to five seconds.

Make sure to enter the username as username@domain.com, Google requires it.

thuluyang
New Contributor III

Requires authentication is not required actually.
Put smtp server as aspmx.l.google.com port 25
Encryption SSL
Sender Email Address: yourname@yourdomain.com

thuluyang
New Contributor III

@adamcodega This way work better I think, Just FYI.

gokoudes
New Contributor III

@thuluyang - thanks for that smtp server info! All other Gmail smtp settings were triple-checked and confirmed, but not working. Your method worked like a charm the first time -- cheers!

thuluyang
New Contributor III

@gokoudes I am happy that you came back and tell me it worked. Thanks

arekdreyer
Contributor

If you are using a Hosted JSS, and G Suite for email, then the third column in https://support.google.com/a/answer/176600?hl=en (Restricted Gmail SMTP server) should work.

daniel_ross
Contributor III

@thuluyang your instructions worked perfectly!

chrisgreer
New Contributor II

@thuluyang that was perfect. Many thanks

jmcmillan
New Contributor

@thuluyang This worked like a charm as others have suggested. Tried all the other default stuff but no go.

Many thanks!