Pop3Peek and File Attachments
Keywords: attachments pop3peek
Question:
I found a possible bug with the Pop3Peek command and RecvText command. Whenever the command peeks or tries to download a message (that just happens to have a File Attachment), the Pop3 command hangs the Winbatch processing.Answer:
NOTE: Use the Postie Extender to retrieve email that might have attachents.
I'll believe it. The message functions are for plain text messages only. The extender can neither send nor receive email with attachments or large emails or emails with extremely large address blocks (as sometimes seen in spam).
Question - Auto processing of email attachments:
Is there a way to use WinBatch to monitor a mail service and automatically process a file that is attached to an incoming message? Need to save the attachment to a specific folder and then call a program to process it.Answer:
No and yes.If the file is under umm I think 64K the WinSock textenders can download the file as a message and save the entire thing to a file. Then it is possible to break apart the saved message. If the file us uuencoded it is much easier than a mime attachment.
Or you could drive an email program to download it and save it. Not a pretty sight.
Article ID: W12613Filename: Pop3 Functions and File Attachments.txt