• Resolved stefsegers

    (@stefsegers)


    Here’s my support log

    OS: Linux gollum 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64
    HTTP User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/600.7.12 (KHTML, like Gecko) Version/8.0.7 Safari/600.7.12
    Platform: PHP Linux 5.5.9-1ubuntu4.7 / WordPress 4.2.2 nl_NL
    PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No
    WordPress Theme: The7.2
    WordPress Plugins: Gravity Forms, Ultimate Addons for Visual Composer, Akismet, Contact Form 7 widget, Contact Form 7, EWWW Image Optimizer Cloud, Import External Images, WPBakery Visual Composer, Postman SMTP, Recent Tweets Widget, Redirection, Remove query strings from static resources, Varnish WordPress, WordPress SEO
    Postman Version: 1.6.23
    Postman Sender Domain (Envelope|Message): familieshoot.nl|familieshoot.nl
    Postman Prevent Message Sender Override (Email|Name): No|No
    Postman Transport URI: smtp:tls:oauth2://smtp.gmail.com:587
    Postman Transport Status (Configured|Ready|Connected): Yes|Yes|Yes
    Postman Deliveries (Success|Fail): 0|0
    Postman Bind (Success|Fail|Path): Yes|No|/home/familieshoot/wordpress/wp-content/plugins/postman-smtp/Postman/PostmanWpMailBinder.php
    Postman TCP Timeout (Connection|Read): 10|60
    Postman Email Log (Enabled|Limit|Transcript Size): Yes|10|128
    Postman Run Mode: production
    Postman PHP LogLevel: 40000
    Postman Stealth Mode: No
    Postman File Locking (Enabled|Temp Dir): Yes|/tmp

    I have setup google using TLS or SSL but none seem to send emails.
    Also now have setup gmail using the API and erverything was setup correctly, but after sending an email I get the same error

    Communicatie Fout [334] – Wees er zeker van dat de email zender toestemming heeft bij het betreffende account OAuth 2.0.

    This is translated: Be sure u have set permission.

    And yes I have tried it multiple times now

    De Oauthen 2.0 autorisatie was succesvol. Gereed om email te verzenden

    Here’s the transcript of my test email

    220 smtp.gmail.com ESMTP z9sm1866072wiv.9 – gsmtp
    EHLO localhost
    250-smtp.gmail.com at your service, [2a02:2770:5:0:21a:4aff:feb0:c77b]
    250-SIZE 35882577
    250-8BITMIME
    250-STARTTLS
    250-ENHANCEDSTATUSCODES
    250-PIPELINING
    250-CHUNKING
    250 SMTPUTF8
    STARTTLS
    220 2.0.0 Ready to start TLS
    EHLO localhost
    250-smtp.gmail.com at your service, [2a02:2770:5:0:21a:4aff:feb0:c77b]
    250-SIZE 35882577
    250-8BITMIME
    250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN XOAUTH
    250-ENHANCEDSTATUSCODES
    250-PIPELINING
    250-CHUNKING
    250 SMTPUTF8
    AUTH XOAUTH2 dXNlcj1pbmZvQGZhbWlsaWVzaG9vdC5ubAFhdXRoPUJlYXJlciB5YTI5LnNnR1ZzX3E2ZXJjdmhDVzNVOWIzSExaYmJpWVhjVHluQThYaGdNUmFwOUliMmpJakNtUFV1aFhYNUlOS29DcE1Ga3g0AQE=
    334 eyJzdGF0dXMiOiI0MDAiLCJzY2hlbWVzIjoiQmVhcmVyIiwic2NvcGUiOiJodHRwczovL21haWwuZ29vZ2xlLmNvbS8ifQ==

    The stage thing is that before I was using Google APPS nothing was a problem and everything worked great. But I removed my account from Google APPS and use my private gmail account but this does not work at all.

    Also set Google permission to use less security apps.

    What am I doing wrong here?

    Stefan

    https://www.ads-software.com/plugins/postman-smtp/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jason Hendriks

    (@jasonhendriks)

    Communication Error [334] – make sure the Envelope From email is the same account used to create the Client ID.

    Nine times out of ten this error is displayed when the account that Postman tried to connect with (info at familieshoot.nl) is not the account that logged in to Google to create and/or grant the OAuth 2.0 token.

    You have two options:

    • Create the client ID with Google user info at familieshoot.nl
    • OR use Google’s Send Mail As feature to add info at familieshoot.nl to the account that IS authorized to send mail
    Thread Starter stefsegers

    (@stefsegers)

    Thanks Jason for your quick reply. I will try to figure out what will work.
    Keep u posted

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘tried everything with google’ is closed to new replies.