Poco FAQ - Automatically saving email files as text files

Automatically saving email files as text files

Q: I typically receive several different e-mails every day. I would like to automate the process of receiving the messages and saving them out as PLAIN, VANILLA text files to a predetermined directory on my computer. This directory MUST exist outside the mailer structure.
 
A: The answer is a hearty YES. The following script will do just that, you will need to modify the file name and directory path: ReadAllHeaders $hdr %message ReadRawBody $body %message AddStrings $hdr $hdr $body SaveBody $hdr "C:Temp\PocoMsg.txt"