Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.12

Request #3636 Allow specification of charsets and encoding
Submitted: 2005-02-28 14:14 UTC
From: jamesr at totalinfosecurity dot com Assigned: cipri
Status: Closed Package: Mail_Mime
PHP Version: 5.0.2 OS: Linux
Roadmaps: 1.4.0, 1.4.0a1    
Subscription  


 [2005-02-28 14:14 UTC] jamesr at totalinfosecurity dot com
Description: ------------ In creating an international webmail site, I needed to be able to specify the charset and encoding of each mime part separately. Therefore I have made modifications to your code which allow some more flexibility. Specifically: 1. You can specify encoding and charset for each mime part 2. You can specify content-disposition for attachments. This is necessary to allow multipart/text messages with several inline parts with different encodings. 3. The filename for attachments can now be encoded 4. The recipient (To: header) can now be encoded I have created two .diff files, one for mime.php and one for mimeDecode.php. Since it is difficult to modify someone else's code, I'm sure I made lots of mistakes and there were probably easier ways to do what I wanted, but after extensive testing with many multi-byte character sets, my changes appear to work in all cases. Please let me know what you think and if I made any mistakes, please also do correct me. Reproduce code: --------------- http://www.totalinfosecurity.com/patches/patches.php

Comments

 [2006-04-28 19:44 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2006-04-28 21:33 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2007-05-05 15:05 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!