|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-02-05 01:06 UTC] jc at mega-bucks dot co dot jp
Feature request: Currently mb_send_mail() is hard-coded to send a Content-type of text/plain. Would it be possible to add a way to change this (being able to set it to text/html would be very useful). Either a parameter to mb_send_email or a function such as mb_send_mail_set_content_type(string)? Thanks! Jc PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
This bug has been really fixed in CVS. Now you can override the hard-coded headers such as Content-Type and Content-Transfer-Encoding by the additional header parameter. example: mb_send_mail("user@example.com", "subject", "any contents", "Content-Type: text/html; charset=utf-8"); I'm afraid the fix won't be available in the next release, but in php5. You can try the latest CVS snapshot (unstable) which you can fetch at http://snaps.php.net/ . Thank you for the report and for helping us make PHP better.