Problem when replying/forwarding cforms auto-generated email

Forums » Opera for Windows/Mac/Linux » Opera mail, chat and news

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

16. December 2010, 10:39:12

pournaras

Posts: 1

Problem when replying/forwarding cforms auto-generated email

Using: Opera Desktop v.11
Problem since: Much earlier versions
OS: Win XP

I have a wordpress site and I'm using the cforms II plugin in order to generate emails from forms.

When I receive those emails, everything looks fine. But when I reply or forward those emails, all non-english characters turn to garbage. I wonder if this Opera's bug or if there's something wrong with the message's headers and body. Can someone help me?


Here's two screenshots of the email (when received and when replying):





Here's the message's source (trucated):

Return-path: <**@**.**>
Delivered-To: **@**.**
Received: (qmail 6373 invoked by uid 1002); 7 Oct 2010 11:09:23 -0000
Delivered-To: **@**.**
Received: (qmail 6348 invoked by uid 1064); 7 Oct 2010 11:09:23 -0000
To: **@**.**, **@**.**
Subject: =?utf-8?B?zpTOuc6xzrPPic69zrnPg868z4zPgiBPcGVuICg1OSkgKM6Zzr/Pjc67LQ==?=
 =?utf-8?B?zpHPhc6zIDIwMTAp?=
X-PHP-Script: www.hellasbridge.org/wp-content/plugins/cforms/lib_ajax.php for 94.65.98.194
Date: Thu, 07 Oct 2010 14:09:23 +0300
From: "HBF Web server" <**@**.**>
Reply-To: **@**.**
Message-ID: <427596dedc7b42febaf0495a02a28c7b@www.hellasbridge.org>
X-Priority: 3
X-Mailer: cformsII (deliciousdays.com) [version 11.6.1]
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="b1_427596dedc7b42febaf0495a02a28c7b"
X-EsetId: 8DAD2426CBA89439DBEF

--b1_427596dedc7b42febaf0495a02a28c7b
Content-Type: text/plain; charset = "utf-8"
Content-Transfer-Encoding: 8bit

Επικοινωνία για το περιοδικό (φόρμα: "Διαγωνισμός Open (59) (Ιούλ-Αυγ 2010)")
============================================
Ημ/νία αποστολής: 7 Οκτωβρίου 2010
Σελίδα: http://www.hellasbridge.org/periodiko/diagonismos-agoron-open
Από: 94.65.98.194 (visitor IP).

--b1_427596dedc7b42febaf0495a02a28c7b
Content-Type: text/html; charset = "utf-8"
Content-Transfer-Encoding: 8bit

<html>
<body><p>Επικοινωνία με το περιοδικό, μέσω φόρμας που συμπληρώθηκε και εστάλη στις 7 Οκτωβρίου 2010, μέσω της σελίδας: http://www.hellasbridge.org/periodiko/diagonismos-agoron-open [IP 94.65.98.194]</p>
</body></html>

--b1_427596dedc7b42febaf0495a02a28c7b--

16. December 2010, 11:15:47

burnout426

Posts: 12415

Welcome to the My Opera community!

In the account's properties on the outgoing tab, set the default charset to "utf-8". See if that helps.

If that doesn't help, close down Opera and edit accounts.ini in the mail folder (see opera:about for the location). Under the section for the account in question, set "Allow 8Bit Transfer" to 1.

If that doesn't help, try also setting "Force charset" to 1.

If none of that works, revert the settings to your normal settings.

7. August 2012, 09:23:33

dranax

Posts: 3

Thank you for your reply. I forgot all about this forum post and, given that the problem persists after upgrading to 12.01, I did a google search and stumbled on my post (!)

I did as you told me, but the problem remains. Any additional ideas?

7. August 2012, 09:27:47

burnout426

Posts: 12415

You could save the message to an mbs file, zip it up (very important) and send it to my username at myopera.com and I can see what's up with the message.

7. August 2012, 09:31:42

dranax

Posts: 3

Done (I was quick this time) :3

7. August 2012, 09:41:16

burnout426

Posts: 12415

O.K. Test something for me.

Open the mbs file with a text editor. There are two instances of

charset = "utf-8"

Change them to

charset="utf-8"

and save.

Then, in Opera, goto "Menu -> settings -> import and export -> import mail -> import generic mbox -> add mbox" and import the mbs file into a new account. Then, use the account selector to only show messages for that account.

Then reply to the message. Does it work now?

7. August 2012, 09:46:13

dranax

Posts: 3

I can't believe it was that. Apparently I need to fix that bug in the relevant php script.

Thanks for saving the rest of my hair from being pulled out!

Have a great day!

7. August 2012, 09:50:46

burnout426

Posts: 12415

Originally posted by dranax:

I can't believe it was that.



I'm pretty sure Opera's header parsing should be more robust to handle the spaces. But, I'd definitely fix it in the script either way.

Forums » Opera for Windows/Mac/Linux » Opera mail, chat and news