3CX Email not working with Gmail

Discussion in '3CX Phone System - General' started by JR_BGT, Jan 24, 2018.

Thread Status:
Not open for further replies.
  1. JR_BGT

    Joined:
    Jan 24, 2018
    Messages:
    3
    Likes Received:
    0
    Hi All,

    After a recent upgrade we noticed that 3CX did away with being able to use Google public relay and now have to use a dedicated email account. We have been trying to get this to work with no success so far.

    3CX v15.5.6354.2
    Win Server 2008 R2

    I have been through the article hear (https://www.3cx.com/blog/docs/gmail-mail-server/) and set everything correctly but still does not work - all I get is message saying "The operation has cancelled". I noticed in the new version that there is an option for mail server 'Gmail' - have tried using this option which just requires email account and password but still does not work either.

    Based on packet captures I have taken I can see the SMTP initial handshake and then the SSL handshake between our 3CX server and Gmail's SMTP server but after that no email is actually sent and all I see are TCP Re-transmission packets with no response from the SMTP server. Interestingly enough I did notice that after about 10 min and multiple re-transmission packets being sent that the Gmail SMTP server does respond back with an SMTP packet stating 'Timeout - closing connection'.

    At this point I don't know why this does not work with Gmail SMTP server - has anyone gotten this working?

    Have also done the log into the email account on the 3CX server and enabled less secure apps in the email account.

    Any help is appreciated, thanks.
     
  2. jimbo59

    jimbo59 Member

    Joined:
    Nov 17, 2017
    Messages:
    357
    Likes Received:
    77
    You logged in from the server with the gmail account after changing to less secure?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. JR_BGT

    Joined:
    Jan 24, 2018
    Messages:
    3
    Likes Received:
    0
    Yes, currently logged into the email account on the server and it has not made any difference.
     
  4. JR_BGT

    Joined:
    Jan 24, 2018
    Messages:
    3
    Likes Received:
    0
    I am also seeing this error in the systemservice logs but do not know what or why this error is showing up or if it is related. Anyone able to provide some insight?

    2018/01/24 11:30:47.645|4736|0006|Info|WM: Pbx parameter PBXERRORMAIL now has value '3CX@xxxxxxx.net'
    2018/01/24 11:30:47.645|4736|0006|Info|WM: ParameterUpdated event name=PBXERRORMAIL, value=3CX@xxxxxx.net
    2018/01/24 11:30:47.896|4736|0006|Info|PBXERRORCODES param is set to 4101,8193,12290,12292,12293,2013
     
Thread Status:
Not open for further replies.