#236 - Append custom headers for mail function (notifications)
Type Enhancement
Status Completed
Milestone 2.3.3
Version -
Component -
Priority Normal
Severity Minor
Owner wr2
Assigned to -
Reported 11 years ago
Updated 9 years ago
Votes 0
Related tickets
Proposed time
Worked time

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.

Ticket History

11 years and 1 month ago by wr2

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

11 years and 1 month ago by arturo182

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

11 years and 1 month 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 10 years and 12 months ago

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