Forums / Developer / Parsing TXT attachments

Parsing TXT attachments

Author Message

Geoff Oxholm

Monday 11 December 2006 8:50:21 am

As an attachment of a tab-delineated TXT file, I get an "ezcMailText" object. When I print the generateBody() it starts like this:
begin 644 attach_excel_file_20061208131411_4333.txt
M061V86YC960@4V%L97,@4F5P;W)T(&)Y(%!L86-E;65N= HQ,B\W+S(P,#8*
.....

With lots of binary data. Other email clients have the same e-mail show up with a raw ascii txt file as an attachment.

How can I convert this emailPart into the tab-delineated text file it is supposed to be?

Derick Rethans

Tuesday 12 December 2006 3:55:02 am

Please use the ezcomponents mailinglist to which you are already subscribed. This forum is for eZ publish, and not the eZ components.

regards,
Derick