--- Gordon Stewart <[EMAIL PROTECTED]> wrote:
> Hi there
> 
> I've posted this message / request yo various groups
> (with 5,000 - 10,000 
> members total) - No reply as yet...
> 
> So far, Ive designed a working email discussion
> group from scratch - using 
> Perl..
> 
> With subscribe / unsibscribe & various options etc..
> 
> PROBLEM :-
> 
> when a user sends a file / attachment - The end
> users see the 
> computer-encoding of the file.. But not the file
> itself.
> 
> Ive found hundreds of online examples re sending a
> file via MIME etc...
> 
> however - none - re RECEIVING a file (saving it to a
> temporary directory 
> too)...
> 
> Can anyone point me to the right place - with
> suitable regezes to determine 
> if an email has an attachment, & then use MIME to
> re-format it back to the 
> original file..
> 
> PS - Ive got the ENTIRE message (headers & all) in a
> $variable)...
> 
> 
> Thanks
> 
> G 
> 
Hey bud,

    in a simple form, the attachment has begin and end
markers, just take everything in between and decode it
- you could use the CPAN err I mean ppm modules to
decode the attachment or just whip something up to
uudecode it yourself. 

http://search.yahoo.com.au - Yahoo! Search
- Looking for more? Try the new Yahoo! Search
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to