Sentrifugo 3.2 Failed To Connect Gmail Account SMTP Issue
When you’re trying to set the email settings in Sentrifugo set up with Gmail account, you might be facing the authentication issue. we are getting phpmailer SMTP connection error issue with the Gmail account in Sentrifugo. You will see Sentrifugo 3.2 failed to make a connection using PHP SMTP Gmail.
Step 1: you can check the DNS connection using the below command.
dig +short smtp.gmail.com
if you find the output like gmail-smtp-msa.l.google.com, it means DNS is working fine.
Step 2: Test the connectivity with the ping command.
Try to telnet to Gmail mail server with telnet smtp.gmail.com 587. if you see output like connected to gmail-smtp-msa.l.google.com, means you’re able to do that. You can also try with 465 or 25 port.
Step 3: if you use a secure transport layer is tls, you have to use 587 port.
if you use a secure transport layer that is SSL, you have to use 465 port.
The Solution with Gmail account:
This is because you have to turn it “on” the secure app access in google account settings, if we don’t do that, you won’t be able to set up the mail server settings with Gmail account on Sentrifugo.
1. Open your google admin console.
2. Click on Security → Basic Settings
3. Under less secure apps, select go to settings for less secure apps.
4. In the subwindow, you will see these options then save the settings.
You will be able to make a connection with the Gmail SMTP server.
You’re done php smtp gmail connection phpmailer smtp issue error sentrifugo phpmailer