Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter moretonelec

    (@moretonelec)

    I have a feeling it might be something to do with my webhost (crazydomains) for http://www.moretonelec.com.au

    In the Cpanel it lists:
    moretonelec.com.au
    moretonelec.com

    So maybe its interfering with the Gmail server? do I need to set up mx records?

    I tried changing it to remote mail exchanger for both .com.au and .com with no luck, now I get this error:

    2017-10-11 09:02:42 Connection: opening to smtp.gmail.com:587, timeout=300, options=array ()
    2017-10-11 09:02:42 Connection: opened
    2017-10-11 09:02:44 SMTP -> get_lines(): $data is “”
    2017-10-11 09:02:44 SMTP -> get_lines(): $str is “220 smtp.gmail.com ESMTP v25sm2896501lja.80 – gsmtp”
    2017-10-11 09:02:44 SERVER -> CLIENT: 220 smtp.gmail.com ESMTP v25sm2896501lja.80 – gsmtp
    2017-10-11 09:02:44 CLIENT -> SERVER: EHLO http://www.moretonelec.com.au
    2017-10-11 09:02:44 SMTP -> get_lines(): $data is “”
    2017-10-11 09:02:44 SMTP -> get_lines(): $str is “250-smtp.gmail.com at your service, [2404:8280:a111:101::63]”
    2017-10-11 09:02:44 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [2404:8280:a111:101::63]”
    2017-10-11 09:02:44 SMTP -> get_lines(): $str is “250-SIZE 35882577”
    2017-10-11 09:02:44 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [2404:8280:a111:101::63]250-SIZE 35882577”
    2017-10-11 09:02:44 SMTP -> get_lines(): $str is “250-8BITMIME”
    2017-10-11 09:02:44 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [2404:8280:a111:101::63]250-SIZE 35882577250-8BITMIME”
    2017-10-11 09:02:44 SMTP -> get_lines(): $str is “250-STARTTLS”
    2017-10-11 09:02:44 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [2404:8280:a111:101::63]250-SIZE 35882577250-8BITMIME250-STARTTLS”
    2017-10-11 09:02:44 SMTP -> get_lines(): $str is “250-ENHANCEDSTATUSCODES”
    2017-10-11 09:02:44 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [2404:8280:a111:101::63]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES”
    2017-10-11 09:02:44 SMTP -> get_lines(): $str is “250-PIPELINING”
    2017-10-11 09:02:44 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [2404:8280:a111:101::63]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING”
    2017-10-11 09:02:44 SMTP -> get_lines(): $str is “250-CHUNKING”
    2017-10-11 09:02:44 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [2404:8280:a111:101::63]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING”
    2017-10-11 09:02:44 SMTP -> get_lines(): $str is “250 SMTPUTF8”
    2017-10-11 09:02:44 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [2404:8280:a111:101::63]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
    2017-10-11 09:02:44 CLIENT -> SERVER: STARTTLS
    2017-10-11 09:02:44 SMTP -> get_lines(): $data is “”
    2017-10-11 09:02:44 SMTP -> get_lines(): $str is “220 2.0.0 Ready to start TLS”
    2017-10-11 09:02:44 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS
    2017-10-11 09:02:46 CLIENT -> SERVER: EHLO http://www.moretonelec.com.au
    2017-10-11 09:02:46 SMTP -> get_lines(): $data is “”
    2017-10-11 09:02:46 SMTP -> get_lines(): $str is “250-smtp.gmail.com at your service, [2404:8280:a111:101::63]”
    2017-10-11 09:02:46 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [2404:8280:a111:101::63]”
    2017-10-11 09:02:46 SMTP -> get_lines(): $str is “250-SIZE 35882577”
    2017-10-11 09:02:46 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [2404:8280:a111:101::63]250-SIZE 35882577”
    2017-10-11 09:02:46 SMTP -> get_lines(): $str is “250-8BITMIME”
    2017-10-11 09:02:46 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [2404:8280:a111:101::63]250-SIZE 35882577250-8BITMIME”
    2017-10-11 09:02:46 SMTP -> get_lines(): $str is “250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH”
    2017-10-11 09:02:46 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [2404:8280:a111:101::63]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH”
    2017-10-11 09:02:46 SMTP -> get_lines(): $str is “250-ENHANCEDSTATUSCODES”
    2017-10-11 09:02:46 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [2404:8280:a111:101::63]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES”
    2017-10-11 09:02:46 SMTP -> get_lines(): $str is “250-PIPELINING”
    2017-10-11 09:02:46 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [2404:8280:a111:101::63]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING”
    2017-10-11 09:02:46 SMTP -> get_lines(): $str is “250-CHUNKING”
    2017-10-11 09:02:46 SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [2404:8280:a111:101::63]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING”
    2017-10-11 09:02:46 SMTP -> get_lines(): $str is “250 SMTPUTF8”
    2017-10-11 09:02:46 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [2404:8280:a111:101::63]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
    2017-10-11 09:02:46 Auth method requested: XOAUTH2
    2017-10-11 09:02:46 Auth methods available on the server: LOGIN,PLAIN,XOAUTH2,PLAIN-CLIENTTOKEN,OAUTHBEARER,XOAUTH
    2017-10-11 09:02:46 CLIENT -> SERVER: QUIT
    2017-10-11 09:02:46 SMTP -> get_lines(): $data is “”
    2017-10-11 09:02:46 SMTP -> get_lines(): $str is “221 2.0.0 closing connection v25sm2896501lja.80 – gsmtp”
    2017-10-11 09:02:46 SERVER -> CLIENT: 221 2.0.0 closing connection v25sm2896501lja.80 – gsmtp
    2017-10-11 09:02:46 Connection: closed

    Fatal error: Uncaught exception ‘LogicException’ with message ‘refresh token must be passed in or set as part of setAccessToken’ in /home/cp796750/public_html/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php:267 Stack trace: #0 /home/cp796750/public_html/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php(255): Google_Client->fetchAccessTokenWithRefreshToken(NULL) #1 /home/cp796750/public_html/wp-content/plugins/gmail-smtp/class.phpmaileroauthgoogle.php(143): Google_Client->refreshToken(NULL) #2 /home/cp796750/public_html/wp-content/plugins/gmail-smtp/PHPMailer/class.smtp.php(470): GmailXOAuth2->getOauth64() #3 /home/cp796750/public_html/wp-content/plugins/gmail-smtp/class.phpmaileroauth.php(153): SMTP->authenticate(”, ”, ‘XOAUTH2’, ”, ”, Object(GmailXOAuth2)) #4 /home/cp796750/public_html/wp-content/plugins/gmail-smtp/PHPMailer/class.phpmailer.php(1540): PHPMailerOAuth->smtpConnect(Array) #5 /home/cp796750/public_html/wp-content/plugins/gmail-smtp/PHPMailer/class.phpmail in /home/cp796750/public_html/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php on line 267

    Thread Starter moretonelec

    (@moretonelec)

    Hello, crazydomains is the web and domain host.. Moretonelec.com.au is the website.

    I also own http://www.moretonelec.com (hosted through ENOM & google apps)

    The email I want to send to & from is the [email protected] (not au)

Viewing 2 replies - 1 through 2 (of 2 total)