• Resolved Kurt Eye

    (@kurt-freshrrcom)


    I’ve set up Postman according to the instructions. It says it’s configured, I granted permissions via Google, the Gmail API is enabled. But I’m getting this when testing:

    Error calling POST https://www.googleapis.com/gmail/v1/users/me/messages/send: (400) Mail service not enabled

    The test attempts show up as “Client Errors” on the Gmail API report screen. What am I missing?

    ================================================================

    OS: Linux darth-shogun 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 x86_64
    HTTP User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36
    Platform: PHP Linux 5.4.44-0+deb7u1 / WordPress 4.3.1 en_US
    PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No
    WordPress Theme: Flat Theme
    WordPress Plugins: LayerSlider WP, Contact Form 7, Google Calendar Events, InfiniteWP – Client, Postman SMTP, Widget Data – Setting Import/Export Plugin, WordPress Importer, WP Google Maps
    Postman Version: 1.6.23
    Postman Sender Domain (Envelope|Message): sage.edu|sage.edu
    Postman Prevent Message Sender Override (Email|Name): No|No
    Postman Transport URI: gmail_api:https:oauth2://www.googleapis.com:443
    Postman Transport Status (Configured|Ready|Connected): Yes|Yes|Yes
    Postman Deliveries (Success|Fail): 0|2
    Postman Bind (Success|Fail|Path): Yes|No|/var/www/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

    https://wordpress.org/plugins/postman-smtp/

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

    (@jasonhendriks)

    Have you enabled the Gmail API in the Google Console?

    See https://wordpress.org/tags/mail-api-disabled

    Thread Starter Kurt Eye

    (@kurt-freshrrcom)

    Yes. I said so in my original post.

    Plugin Author Jason Hendriks

    (@jasonhendriks)

    Postman Sender Domain (Envelope|Message): sage.edu|sage.edu

    Are you sure sage.edu is a Google apps account?? Because it points to Campus Cruiser and Outlook.com. The Google Console is for Google accounts.

    sage.edu.	197	IN	MX	1 mail.campuscruiser.com.
    sage.edu.	197	IN	MX	2 ms17766578.msv1.invalid.outlook.com.
    sage.edu.	299	IN	TXT	"v=spf1 mx include:ne16.com ~all"
    sage.edu.	299	IN	TXT	"v=spf1 include:minerva.sage.edu ?all"

    This domain also has two SPF records, that’s wrong.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘400 Mail service not enabled’ is closed to new replies.