#236 - Append custom headers for mail function (notifications)

Description

It would be nice to have ability to append some headers to email notifications. I meant 4th parameter to mail() function ( http://www.php.net/manual/en/function.mail.php ).

In my opinion, it should be customizable either from AdminCP or from config.php

For example, when I've got non-latin symbols in task/user names or localized strings I have to add encoding information into email header. Something like "\r\nContent-Type: text/plain; charset=utf-8".

Now this task cannot be done without patching the source.

Activity

13 years and 10 months ago by wr2

Maybe just add fixed encoding string to mail headers without any configuration?

13 years and 10 months ago by arturo182

I think the default encoding for sending emails should be utf-8.

13 years and 10 months ago by wr2

I agree that email encoding should be utf-8 (and now it's definitely so), but some email clients can not determine it without header which explicitly "tells" them about this fact.

Jack closed as Completed 13 years and 8 months ago

I added the UTF-8 content type to most if not all mail() calls.

Status

Completed
-
Normal

Details

Enhancement
2.3.3
-
-
Minor

Tracking

wr2
13 years and 10 months ago
12 years ago
0
-
-