

To use this service, you must configure it under Apps -> G-Suite > Gmail > Advanced Settings -> General Settings -> Routing Add an SMTP relay service with the appropriate settings. This service allows you to open up SMTP under certain conditions. G-Suite allows you to use their SMTP Relay service. It is recommended to not leave this on unless necessary. Scroll down to “Allow less secure apps” and turn it on and retest. In the left menu, under Sign-In & Security, click “Connected Apps and Sites”. From gmail, click your avatar at the top right of the page and click “My Account”. You may need to “allow less secure apps”. Not related to SMTP, but make sure you enabled IMAP or POP3 from Settings -> Forwarding and POP/IMAP If it does then SELinux is blocking the connection and you will need to re-enable it and write a rule to allow the connection. Note: if you are running SELinux please disable it to see if that makes this start working. If you are running some other firewall, make sure it is allowing outgoing connections on 465 or 587. Also make sure the port you are using (465 or 587) is in SMTP_PORTS. You can either turn off SMTP_BLOCK (not recommended) or add the user osTicket is running under to SMTP_ALLOWUSER. If you are running csf, it defaults to block outgoing SMTP connections. The PHP error log often contains more information as to why something is not working correctly.Ĭonnection Refused errors are most likely caused by your firewall. You may need to consult your PHP error log (the location varies by OS and personal preferences so consult your php.ini to determine its location). If you test at this point and it doesn’t work, continue reading.
WHAT IS MY MAIL SERVER NUMBER FULL
Make sure your username is your full email and password are set correctly in the Email Login Information Note: If you have a google apps/G-Suite account, this might change, see below. Under Admin panel -> Emails -> Emails -> Sending email via SMTP For most people, enter either ssl:// with port 465 or tls:// with port 587. save it somewhere to your server, for example to C:\wamp\ssl\cacert.pemĪnd change it to the location of the cacert.In order to use Gmail, your host must support SSL, so osTicket can negotiate the secure connection, and you must enable IMAP or POP in your GMail or GApps account.
WHAT IS MY MAIL SERVER NUMBER VERIFICATION

To fetch mail using IMAP from the Gmail server enter these details: If not, Gmail will send all existing (even read) messages to HESK when it first connects.

Important: make 100% sure that " POP3 download" in your Gmail settings is set to " Enable POP for mail that arrives from now on". To fetch mail from the Gmail server enter these details: Still no luck? Check with your host if they have port 587 blocked in your firewall.

enable " less secure apps" in your Google account, and/or If you get an authentication error from Google you might also need to:ġ.
