[dev] kolab::getMessageHeaders warnings

Stuart Bingë s.binge at codefusion.co.za
Tue Mar 30 05:28:40 PST 2004


On Tuesday 30 March 2004 15:04, Jan Schneider wrote:
> Why don't you use Horde's MIME classes?

Well it would have to be because of documentation :-)
The PEAR stuff had sample code to do exactly what we needed to do, which made 
it really quick to implement - unfortunately we didn't have the time to look 
at the Horde classes as an alternative.

If you (or someone else who is familiar with the Horde MIME classes) could 
describe how we can do what needs doing using the Horde MIME libraries then 
I'd have no problems converting. We basically have two scenarios:

1. We have a text block (such as text/calendar data) which needs to be added 
as a MIME part to an email message. We then need to add a couple of 
additional headers to this message and finally read it back as a string.

2. We have an existing text string which contains a valid MIME email message. 
We need to parse this string in order to read back the body of a specific 
MIME part with a certain content type.

Is it possible to do all of this?

Cheers,

-- 
Stuart Bingë
Code Fusion cc.

Office: +27 11 673 0411
Mobile: +27 83 298 9727
Email: s.binge at codefusion.co.za

Tailored email solutions; Kolab specialists.
http://www.codefusion.co.za/


More information about the dev mailing list