FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=10438&edit=1

ID: 10438
Updated by: alec@alec.pl
Reported By: uhlar at fantomas dot sk
Summary: function for encoding of given string
-Status: Assigned
+Status: Closed
Type: Feature/Change Request
Package: Mail_Mime
Operating System: any
Package Version: 1.3.1
PHP Version: 4.4.4
Assigned To: cipri
-Roadmap Versions: 1.6.0
+Roadmap Versions: 1.5.3
New Comment:

-Status: Assigned
+Status: Closed
-Roadmap Versions: 1.6.0
+Roadmap Versions: 1.5.3
This bug has been fixed in SVN.

If this was a documentation problem, the fix will appear on
pear.php.net by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should
be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

encodeHeader() method added.


Previous Comments:
------------------------------------------------------------------------

[2007-04-21 12:19:55] cipri

Planned for version 1.6.0.
You can use the encodeRecipient() function for now, which provides
/some/ of the functions needed by this, providing you've set the
build_params correctly alreayd.

------------------------------------------------------------------------

[2007-03-21 05:15:03] fantomas

Description:
------------
Hello, it would be nice to provide a simple function that would
mime-encoded string from provided string, charset and encoding.
There are many PHP scripts which already do their job, but they send
mails with invalid MIME headers, and rewriting them to create mail using
object interface of this package would be too much work.
Providing simple function to encode provided string would help coders
very much to make their mail RFC compliant and not tagged as spam due to
invalid header encoding.
The function could look like

Mime_Encode(string[, encoding[, charset]])

where encoding would be auto (smallest result) quoted-printable or
base64, and charset could be detected from current locale settings.

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedDec 21, '09 at 9:23a
activeDec 21, '09 at 9:23a
posts1
users1
websitepear.php.net

1 user in discussion

Alec: 1 post

People

Translate

site design / logo © 2022 Grokbase