Mail/Mime.php changes

From: Date: Fri, 14 Sep 2001 22:57:27 +0000
Subject: Mail/Mime.php changes
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-1925@lists.php.net to get a copy of this message
Hi, Here's some changes I 'd like to suggest: - Allowing addHTMLImage() and addAttachment() to accept data as well as or instead of filenames. Maybe change the first argument to be data/filename and an extra third bool to say which it is (eg $isFilename). <Mentioned earlier> - Allowing more encoding types, eg quoted-printable. Actually this is the only one that springs to mind, but more encoding types should be allowable for the various content types. Eg, currently text/plain and text/html are base64 encoded. These would be much better as 7bit and quoted-printable. - An optional $build_paramters for get(), to allow configuration/customisation of the building of the email. Prime example of use is the encoding types. - A configurable CRLF, instead of fixed \r\n. Obviously not standard, but useful nonetheless. - Doesn't appear to be any way to add custom headers, so maybe something along these lines. - Character set customisation. I'm quite happy to knock up the changes if noone objects. -- Richard Heyes

« previous php.pear.dev (#1925) next »