Support » Plugin: Post SMTP Mailer/Email Log » Postman Throwing Failed Emails even though they are being delivered

  • Hi,

    We’re getting lots of SMTP fail emails come through but the thing is the emails aren’t actually failing…

    Postman is configured.
    Postman will send mail via the 🔐 Gmail API.

    SMTP Connectivity Test: https://i.imgur.com/0rtx6Si.png
    Email Log: https://i.imgur.com/a8chAvc.png

    Actual Settings:

    • Type: Gmail API
    • Authorized Javascript Origins: https://website.com
    • Authorized Redirect URI: https://website.com/wp-admin/options-general.php?page=postman
    • Client ID: xxxxxxxxxxxxxxxxxxxxxxxxx
    • Client Secret: xxxxxxxxxxxxxxxxxxxxxxxxx
    • Use Fallback: False (No)
    • Outgoing Mail Server: mail.website.com
    • Mail Server Port: 25
    • Security: TLS
    • From email: actualaccount@website.com
    • Use SMTP Authentication: True (Yes)
    • Username: RootMailUsername
    • Password: RootMailPassword
    • From Address: actualaccount@website.com
    • Prevent Plugins & Themes from changing this: True (Yes)
    • Name: Actual Account
    • Prevent Plugins & Themes from changing this: False (No)
    • Reply-To: actualaccount@website.com
    • TCP Connection Timeout: 10
    • TCP Read Timeout: 60
    • PHP Log Level: Error
    • Delivery Mode: Log Email & Send
    • Stealth Mode: False

    HostName: website.com
    cURL Version: 7.62.0
    OpenSSL Version: OpenSSL/1.0.2k
    OS: Linux s1.kickassd.com 3.10.0-962.3.2.lve1.5.24.5.el7.x86_64 #1 SMP Thu Nov 22 09:42:49 EST 2018 x86_64
    PHP: Linux 7.1.26 C
    PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=Yes, zlib_encode=Yes
    WordPress: 4.9.10 en_US UTF-8
    WordPress Theme: Bridge
    WordPress Plugins: GWP Widget Cache (Cached!), Advanced Search Widget, Akismet Anti-Spam, Antispam Bee, Auto Post Thumbnail, Cloudflare, Confirm Publishing Actions, Contact Form 7, A5 Custom Login Page, Duplicate Post, Duplicator Pro, Email Notifications for WP Security Audit Log, Envato Market, External DB for WP Security Audit Log, The Hack Repair Guy’s Plugin Archiver, WPBakery Page Builder, LiteSpeed Cache, Virtual Robots.txt, Post SMTP, Qode Twitter Feed, Remove Yoast SEO Comments, Reports for WP Security Audit Log, Search & Replace, Search for WP Security Audit Log, Simple Page Ordering, Hide SEO Bloat, TinyMCE Advanced, Users Sessions Management for WP Security Audit Log, Wordfence Security, WordPress Popular Posts, Yoast SEO, WP Security Audit Log, WP Statistics, WP Remote
    WordPress wp_mail Filter(s): wp_staticize_emoji_for_email
    WordPress wp_mail_from Filter(s): wordfence::fixWPMailFromAddress
    WordPress phpmailer_init Action(s): wpcf7_phpmailer_init
    Postman: 1.9.8
    Postman Sender Domain (Envelope|Message): website.com | website.com
    Postman Prevent Message Sender Override (Email|Name): Yes | Yes
    Postman Active Transport: Gmail API (https:oauth2://www.googleapis.com:443)
    Postman Active Transport Status (Ready|Connected): Yes | Yes
    Postman Deliveries (Success|Fail): 513 | 56
    Postman Email Log (Enabled|Limit|Transcript Size): Yes | 500 | 256

    • This topic was modified 6 months, 1 week ago by  Hyflex.
    • This topic was modified 6 months, 1 week ago by  Hyflex.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author yehudah

    (@yehudah)

    The images are blured, please repost.

    @yehudah If you copy the link and then paste them into a new tab they aren’t blurry, or just click the link and then click on the image and it loads it in a popout.

    For some reason Imgur is changing the link to redirect to the share page when the referrer is WordPress.org

    Plugin Author yehudah

    (@yehudah)

    Sorry for the delay, something is blocking the request.
    something called kikassd or something like that is in the middle, contact your host and verify that.

    Hyflex

    (@hyflex)

    @yehudah Kickassd is the host, what exactly is being blocked… The emails are going through so surely it’s not being blocked rather the plugin isn’t handling the response correctly?

    Hyflex

    (@hyflex)

    @yehudah For example, both of the email transcripts below went through just fine, except for Post SMTP detecting one as failing even though it didn’t…

    The following email went through without any error:

    
    This is the conversation between Postman and the mail server. It can be useful for diagnosing problems. DO NOT post it on-line, it may contain your account password.
    
    https:oauth2://www.googleapis.com:443
    
    --Raw message follows--
    
    X-Mailer: Postman SMTP 1.9.8 for WordPress (https://wordpress.org/plugins/post-smtp/)
    X-WPCF7-Content-Type: text/html
    Content-Type: text/html; charset=UTF-8
    From: Main Website <mainemail@website.com>
    Sender: mainemail@website.com
    To: hyflex@otherwebsite.com
    Reply-To: hyflex@otherwebsite.com
    Subject: Website Enquiry - Finding A Job
    Date: Thu, 21 Mar 2019 02:24:57 +0000
    Content-Transfer-Encoding: quoted-printable
    Content-Disposition: inline
    MIME-Version: 1.0
    
    <!doctype html>=0A<html xmlns=3D"http://www.w3.org/1999/xhtml" dir=3D"lt=
    r" lang=3D"en-US">=0A<head>=0A<title>Website Enquiry</ti=
    tle>=0A</head>=0A<body>=0A<p><span style=3D"font-weight: bold; font-size=
    : 16px; text-decoration: underline;">From:</span> <span style=3D"font-st=
    yle: italic;">Ryan Dye</span> hyflex@otherwebsite.com</p>=0A<p><span style=
    =3D"font-weight: bold; font-size: 16px; text-decoration: underline; padd=
    ing-top: 20px;">Page Title:</span> <span style=3D"font-style: italic;">C=
    ontact Us - Ryan Test</span><br />=0A<span style=3D"font-weight: bold; f=
    ont-size: 16px; text-decoration: underline;">Page URL:</span> https://we=
    bsite.com/contact-us-test/<br />=0A<span style=3D"font-weight: b=
    old; font-size: 16px; text-decoration: underline;">Category:</span> <spa=
    n style=3D"font-style: italic;">Contact Form</span></p>=0A<p><span styl=
    e=3D"font-weight: bold; font-size: 16px; text-decoration: underline; pad=
    ding-top: 20px;">Message Body:</span></p>=0A<p>This is a test email, to=
     check if it's working or not! :)</p>=0A<p><span style=3D"font-weig=
    ht: bold; font-size: 16px; text-decoration: underline; padding-top: 20px=
    ; padding-bottom: 20px;">Attachment:</span> [file-379]</p>=0A<hr>=0A<spa=
    n style=3D"font-weight: bold; font-size: 12px; text-decoration: underlin=
    e;">Browser Details:</span></font> </p>=0A<pre>Mozilla/5.0 (Windows NT 1=
    0.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626=
    .121 Safari/537.36</pre>=0A</body>=0A</html>

    The following email went through ok, but it did throw an error:

    This is the conversation between Postman and the mail server. It can be useful for diagnosing problems. DO NOT post it on-line, it may contain your account password.
    
    https:oauth2://www.googleapis.com:443
    
    Do not know how to execute this type of object.
    
    --Raw message follows--
    
    X-Mailer: Postman SMTP 1.9.8 for WordPress (https://wordpress.org/plugins/post-smtp/)
    Content-Type: text/html; charset=UTF-8
    From: Main Email <mainemail@website.com>
    Sender: mainemail@website.com
    To: hyflex@otherwebsite.com
    Reply-To: mailemail@website.com
    Subject: [Wordfence Alert] Problems found on website.com
    Date: Thu, 21 Mar 2019 01:40:24 +0000
    Content-Transfer-Encoding: quoted-printable
    Content-Disposition: inline
    MIME-Version: 1.0
    
    <p>This email was sent from your website "Other Website" by the Wordfence=
     plugin.</p>=0A=0A<p>Wordfence found the following new issues on "Other=
    website".</p>=0A=0A<p>Alert generated at Thursday 21st of March 2019 at 01=
    :40:24 AM</p>=0A=0A<br>=0A=0A<p>See the details of these scan results on=
     your site at: https://website.com/wp-admin/admin.php?page=3DWordfenc=
    eScan</p>=0A=0A=0A=0A=0A=0A<p>Medium Severity Problems:</p>=0A<p>* The P=
    lugin "WP Statistics" needs an upgrade (12.6 -> 12.6.1).</p=
    >=0A<p>https://wordpress.org/plugins/wp-statistics/#developers</p>=0A=0A=
    <p>* The Theme "Bridge" needs an upgrade (17.2 -> 18.0.5).<=
    /p>=0A=0A=0A=0A=0A=0A=09<p>NOTE: You are using the free version of Wordf=
    ence. Upgrade today:</p>=0A=09=0A=09<ul>=0A=09=09<li>Receive real-time F=
    irewall and Scan engine rule updates for protection as threats emerge</l=
    i>=0A=09=09<li>Real-time IP Blacklist blocks the most malicious IPs from=
     accessing your site</li>=0A=09=09<li>Country blocking</li>=0A=09=09<li>=
    Two factor authentication</li>=0A=09=09<li>IP reputation monitoring</li>=
    =0A=09=09<li>Schedule scans to run more frequently and at optimal times<=
    /li>=0A=09=09<li>Access to Premium Support</li>=0A=09=09<li>Discounts fo=
    r multi-year and multi-license purchases</li>=0A=09</ul>=0A=0A=09<p>Clic=
    k here to upgrade to Wordfence Premium:<br><a href=3D"https://www.wordfe=
    nce.com/zz2/wordfence-signup/">https://www.wordfence.com/zz2/wordfence-s=
    ignup/</a></p>=0A=0A<p>No longer an administrator for this site? <a href=
    =3D"https://website.com/?_wfsf=3DremoveAlertEmail&jwt=3DeyJhbGciOiJIU=
    zI1NiIsiNS5cCI3IkpXpCJ9.eyJlbWFpbCI6IlJ5YW5AUmF0aW5nVGhlUmFjZXMuY29tIiwi=
    X2V4cCI6MTU1MzczNzIyNH0.W2Ud2dXY1XWpdrYvohoXKagOhMY7g1SKBJkbHtrKk5Y" tar=
    get=3D"_blank">Click here</a> to stop receiving security alerts.</p>=0A=
    =0A=0A

    I noticed even in the thread back https://wordpress.org/support/topic/do-not-know-how-to-execute-this-type-of-object/ you suggest it’s the host blocking something but there is no specifics…

    Also how does it make sense for the host to be blocking something when the emails are actually going through…

    • This reply was modified 6 months ago by  Hyflex.
    Hyflex

    (@hyflex)

    I forgot to mention a suggestion, I think you should add an option to individually test both the primary email and the fallback email option. 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Postman Throwing Failed Emails even though they are being delivered’ is closed to new replies.