Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Mail Encoding in 2.04

Quote Reply
Mail Encoding in 2.04
Hi again,

another issue on mails sent out by Links 2.04:
In previous versions the Content-Transfer-Encoding for notification mails was set to "quoted-printable" which was fine, because the German umlauts were not crumbled that way.
After upgrading to 2.04 the Content-Transfer-Encoding is now "7bit", resulting in very hard to read mails, because all umlauts (i.e. ä etc.) are crumbled now.

How can I switch that back to "quoted-printable" ?

Thanks


Andreas
http://www.archaeologie-online.de
Quote Reply
Re: Mail Encoding in 2.04 In reply to
got the same problem.

how could it be solved ?


Quote Reply
Re: Mail Encoding in 2.04 In reply to
Hi,

Edit GT/Mail.pm and replace sub _encoding with:

Code:
sub _encoding {
# --------------------------------------------------------------------------
# Private method to guess the encoding type.
#
my ($self, $part) = @_;
my $encoding;
$encoding = $part->mime_attr ('content-transfer-encoding');
if ($encoding and lc($encoding) ne '-guess') {
return $encoding;
}
elsif (!$encoding or lc($encoding) eq '-guess') {
return $part->suggest_encoding;
}
else {
return $encoding;
}
}
That should fix it.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Mail Encoding in 2.04 In reply to
Thank you Alex!

Andreas
http://www.archaeologie-online.de
Quote Reply
Re: Mail Encoding in 2.04 In reply to
There is a type error in the change.

You have to replace
return $encoding;
with
return $part->suggest_encoding;

Then it works :-)

malinet Informatik
the german language reseller of Gossamer-Threads Inc.

--
http://www.malinet.de
Quote Reply
Re: Mail Encoding in 2.04 In reply to
thank you very much ! (Danke!).
I hope it works now.


Manu

http://www.shop-netz.com
Quote Reply
Re: Mail Encoding in 2.04 In reply to
Hi,

Can you expand a bit on this? If you make that change, then the mailer won't use an encoding scheme that you pass in.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: [ManuGermany] Mail Encoding in 2.04 In reply to
Sorry, but that doesn't work very well.
Using some eMail-clients the mails are still unreadable.

Has anyone an idea ?Frown

Regards,
Manu

Shopping Portal Shop-Netz.de® | Partnerprogramme | Flugreisen & Billigflüge | KESTERMEDIA e.K. | European Affiliate Marketing Forum.
Quote Reply
Re: [ManuGermany] Mail Encoding in 2.04 In reply to
Hi,

Are you using 2.0.5? This should work fine now..

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Mail Encoding in 2.04 In reply to
yes, i am using 2.0.5 bu t it doesnt work at all.

Frown

Regards,
Manu

Shopping Portal Shop-Netz.de® | Partnerprogramme | Flugreisen & Billigflüge | KESTERMEDIA e.K. | European Affiliate Marketing Forum.
Quote Reply
Re: [ManuGermany] Mail Encoding in 2.04 In reply to
Hi,

Can you send an email to support-lsql@gossamer-threads.com with admin access, and the email you are having troubles with (validate, signup, etc).

Cheers,

Alex
--
Gossamer Threads Inc.