Fields mapping incorrectly
-
Thanks for the great plugin! Has been working very well for us for awhile now.
Recently however we are noticing some emails are coming in mapped to the wrong fields.
For example, the From Name is set as <Unknown sender> or Mime-version: – Perhaps an issue with email header.
Any thoughts on why this may be happening? Anyone else with this issue?
-
Hi,
Can you give more detailes ?
Where the mail come from ? Contact plugin ?
What smtp service do you use ?
This is email notifications via Gravity Forms, using Sendgrid.
Part of the email header of a recent email that had the strange From field mapping.
Date: Mon, 07 May 2018 23:18:59 +0000 (UTC)
From: “Mime-Version:” <[email protected]>
Reply-To: [email protected]
To: [email protected]
Message-ID: Q_3PtS75SKGgxol14of3qA.ismtpd0011p1las1.sendgrid.net
Subject: Redacted subject
X-Mailer: Postman SMTP 1.8.9 for WordPress (https://ww.wp.xz.cn/plugins/post-smtp/)Remains an intermittent issue at the moment. Sendgrid said it may be an extra comma in the To: field, which should only be one email address.
Here’s what Sendgrid says:
In our system, the email you provided has the processed and delivered events with the From address:
""[email protected]"" <[email protected]>The name of the From address should appear in our system with only one set of quotation marks like this:
Eg:
"[email protected]" <[email protected]>For this matter, I would recommend to check the settings for the From name as it is reaching SendGrid with additional quotation marks.
All I have in the Gravity Forms notification from field is:
Perhaps the source of this is a plugin conflict? Any thoughts? Thank you!
This issue persists. Any thoughts on the quote issue? Would be happy to send you the full email transcript if that helps troubleshoot.
Email just arrived with:
From: Mime-Version: 1.0
in the full message.
This issue persists. Recent email came in with
From: Using Postman SMTP 1.8.9 for WordPress (https://ww.wp.xz.cn/plugins/post-smtp/) From: Mime-Version: 1.0Any thoughts on this and the above from sendgrid? Thanks for your help.
Here is something interesting, a successful email’s header info. The first is at the very top, the second is below.
From: "\"[email protected]\"" <[email protected]> Using Postman SMTP 1.8.9 for WordPress (https://ww.wp.xz.cn/plugins/post-smtp/) From: "\"[email protected]\"" <[email protected]>Finally here is diagnostic info. Thanks for your help, eager to get this resolved.
HostName: redacted.com
OS: Linux red.redacted.com 3.10.0-714.10.2.lve1.5.9.el7.x86_64 #1 SMP Thu Jan 11 14:17:06 EST 2018 x86_64
PHP: Linux 5.6.35 en_US.UTF-8
PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=Yes, zlib_encode=Yes
WordPress: 4.9.6 en_US UTF-8
WordPress Theme: Custom Theme
WordPress Plugins: Gravity Forms, a3 Lazy Load, Autoptimize, iThemes Security, Disable Comments, Duplicate Post, Duplicator, Google Analytics Dashboard for WP (GADWP), Anti-Malware Security and Brute-Force Firewall, Members, Menu Social Icons, Post SMTP, Redirection, Responsive Lightbox & Gallery, Sassy Social Share, Shortcodes Ultimate, WooSlider, Yoast SEO, Smush, WP-Sweep, NextGEN Gallery
WordPress wp_mail Filter(s): wp_staticize_emoji_for_email
Postman: 1.8.9
Postman Sender Domain (Envelope|Message): redacted.com | redacted.com
Postman Prevent Message Sender Override (Email|Name): No | No
Postman Active Transport: SendGrid API (https://api.sendgrid.com:443)
Postman Active Transport Status (Ready|Connected): Yes | Yes
Postman Deliveries (Success|Fail): 20427 | 31
Postman PHP LogLevel: 30000can you say what is common for the failed emails?
You have 20427 success emails vs 31 failed.
something in the 31 emails probably causing it, maybe the same source? plugin reports?
The emails do not fail, they are often either marked as spam or the From name is <unknown sender>.
This only became an issue in the past month or so.
The commmon point of failure is as I expressed above.. sometimes the From name is not parsed correctly, there seems to be additional quotations and attempts to escape the quotations. The issue does not appear to be on the Gravity Forms or Sendgrid side (I have already investigated these)
To put it another way, the emails are being delivered successfully however the headers are sometimes corrupted. There does not seem to be any difference in the actual content of the emails, the headers simply do not always pull the information from Gravity Forms notifications properly. It’s a very interesting situation because of this intermittent nature. Thanks again for your help.
The topic ‘Fields mapping incorrectly’ is closed to new replies.