Encoding issues
-
Hi,
I’m building a french website. I’m having issues with the email encoding.
For instance, when I send: Québec à è ï
I receive Québec à è ïCan you help please ?
-
Can you try my contact form to make sure it’s a sending problem, not a receiving problem? (You will get a copy)
There is no encoding issue with your form. I will try to make a form in english to see if there is a problem with the translation.
Like this guy did, you could install Postman SMTP and post the session transcript here so we can see exactly what you site is sending. Just remove your AUTH LOGIN or AUTH PLAIN credentials from the text.
I tried to send an email with the form in englsih. It worked perfectly. I then tried again to send one with the form in french and it still sends me a bad encoded email. I think it’s a problem with the translation. Here’s what I got from your plugin, which is very complete by the way ! I removed the Login Auth strings.
C’est la conversation entre Postman et votre serveur SMTP. Il peut être utile pour diagnostiquer les problèmes. NE PAS poster en ligne, il peut contenir votre mot de passe sous forme codée.
220 p3plsmtpa11-10.prod.phx3.secureserver.net ESMTP
EHLO localhost
250-p3plsmtpa11-10.prod.phx3.secureserver.net hello [198.71.230.65], secureserver.net
250-HELP
250-AUTH LOGIN PLAIN
250-SIZE 31457280
250-PIPELINING
250-8BITMIME
250 OK
AUTH LOGIN
334334
235 … authentication succeeded ::
MAIL FROM:<[email protected]>
250 <[email protected]> sender ok
RCPT TO:<[email protected]>
250 <[email protected]> recipient ok
DATA
354 enter mail, end with “.” on a line by itself
X-Mailer: Postman SMTP 1.6.24 for WordPress (https://ww.wp.xz.cn/plugins/postman-smtp/)
From: =?UTF-8?Q?R=C3=A9seau=20Hommes=20Qu=C3=A9bec?= <[email protected]>
Sender: [email protected]
To: [email protected]
Reply-To: [email protected]
Subject: Test accents 18
Date: Tue, 03 Nov 2015 16:58:11 +0000
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
MIME-Version: 1.0From: danybl <[email protected]>=0ASubject: Test accents 18=
=0A=0AMessage Body:=0A=C3=A0 =C3=AC =C3=B2 =C3=B4 =C3=AE =C3=BB =C3=A9=
=0A=0A–=0ACe courriel a =C3=A9t=C3=A9 envoy=C3=A9 =C3=A0 R=C3=A9seau Ho=
mmes Qu=C3=A9bec (http://rhquebec.ca)
.
250 mail accepted for deliveryIt’s the same transcript for both the french and the englsih contact form.
Could you set your contact form to send a message to the visitor.. Add the visitor email as a cc header or something. I’d like to inspect the email myself. There’s got to be something different between the email my form sent and the email your form sent.
I live in Montreal, btw!
Would you post the Postman Diagnostic Test. Let’s make sure your site is in UTF-8 mode.
OS: Linux a2plcpnl0308.prod.iad2.secureserver.net 2.6.32-531.29.2.lve1.3.11.10.el6.x86_64 #1 SMP Fri Jun 12 15:09:02 EDT 2015 x86_64
HTTP User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36
PHP: Linux 5.4.43 C
PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=Yes
WordPress: 4.3.1 fr_FR
WordPress Theme: AccessPress Root RHQ
WordPress Plugins: All In One WP Security, bbPress, BuddyPress, Coming soon and Maintenance mode WpDevArt, Contact Form 7, EventON, EWWW Image Optimizer, heatmap for WordPress, Members, Huge IT Portfolio Gallery, Post Thumbnail Editor, Postman SMTP, Print Friendly and PDF, Quick Paypal Payments, Regenerate Thumbnails, Restrict Widgets, Shortcodes Ultimate, teachPress, W3 Total Cache, Yoast SEO, WP Sitemap Page, WP Slimstat
WordPress wp_mail Filter(s): wp_staticize_emoji_for_email
WordPress wp_mail_from_name Filter(s): bp_core_email_from_name_filter
Postman: 1.6.24
Postman Sender Domain (Envelope|Message): rhquebec.ca | rhquebec.ca
Postman Prevent Message Sender Override (Email|Name): No | No
Postman Transport URI: smtp:none:login://smtpout.secureserver.net:80
Postman Transport Status (Configured|Ready|Connected): Yes | Yes | Yes
Postman Deliveries (Success|Fail): 7 | 0send me the link to the form so i can try it
The topic ‘Encoding issues’ is closed to new replies.