Project

General

Profile

Actions

Feature #14851

closed

plainMailEncoded with charset conversion

Added by Simon Ihmig over 19 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2005-07-07
Due date:
% Done:

0%

Estimated time:
PHP Version:
4
Tags:
Complexity:
Sprint Focus:

Description

It would be nice to be able to run a site in utf-8, but send out notification mails (e.g. from feAdmin and related extendsions) in ISO-8859-1, because many freemail systems don't support utf-8.

You are able to set the charset with the config option notification_email_charset, however this does not convert the actual mail data, so if it is in utf-8, the mails are broken.

What is needed is charset conversion inside of tslib_fe->plainMailEncoded.

And it's right here: see the attached file.

It would be nice to habe in integrated into future versions!

(issue imported from #M1268)


Files

plainMailEncoded.txt (1.21 KB) plainMailEncoded.txt Administrator Admin, 2005-07-07 21:44
bug1268.diff (1.15 KB) bug1268.diff Administrator Admin, 2005-07-15 11:36
bug_1268_notification_email_charset.diff (1.69 KB) bug_1268_notification_email_charset.diff Administrator Admin, 2006-07-26 07:55
Actions #1

Updated by Michael Stucki over 19 years ago

Made a diff of your change. It's the same like in plainMailEncoded.txt.

Actions #2

Updated by Michael Stucki almost 19 years ago

Should work with latest beta version.

Actions #3

Updated by Simon Ihmig over 18 years ago

Regarding this particular issue, I can't find any charset conversion in TYPO3 4.0. Has this been removed again?

I still get those strange characters on a utf-8 site when notification_email_charset is set to latin-1.

Actions #4

Updated by Michael Stucki over 18 years ago

I confirm this seems to be a bug.
Can you please check if the attached patch works? Thanks for a quick feedback (4.0.1 is close...!)

Actions #5

Updated by Dmitry Pikhno over 18 years ago

please take a look
http://bugs.typo3.org/view.php?id=3600

UPD: seems i was wrong - it is another issue. you are talking about notification letters.

Actions #6

Updated by Michael Stucki over 18 years ago

I know, but this doesn't fix the sendNotificationMail function. However, I could use some of the code from the formmail fix to make this work...

Actions #7

Updated by Michael Stucki over 18 years ago

exactly ;-)

Actions #8

Updated by Simon Ihmig over 18 years ago

Michael, your patched worked for me!
Danke! :)

Actions #9

Updated by Michael Stucki about 18 years ago

Fixed in TYPO3 4.0.2 and later.

Actions

Also available in: Atom PDF