![]() |
Saving incoming emails as text files. - Event Date: 02 Feb 2006 - 02 Feb 2006 |
Post Reply
|
| Author | |
Stephen
Admin Group
Joined: 21 Oct 2005 Location: Stoke on Trent Posts: 1389 |
Post Options
Quote Reply
Calendar Event: Saving incoming emails as text files.Posted: 02 Feb 2006 at 6:05pm |
|
This sample Action Script shows how to save incoming emails as text files into a folder on your PC.
The sample saves emails to a folder called C:\Mail\ You could easily tweak the sample to change the location and naming. The text files will be RFC2822 format with the headers first followed by a blank line and the MIME text. Replace MSG_MimeText with MSG_Body if you just want to save the email text and not all attachments also (you can still use the Attachments save action to save attachments separately). Sample here: http://www.email-2-db.com/images/script-saveemailtext.gif Edited by Daniel - 22 Aug 2008 at 1:01pm |
|
|
Stephen Parker
|
|
![]() |
|
James Horton
Admin Group
Technical Support Joined: 01 Jun 2009 Location: Stoke-on-Trent Posts: 275 |
Post Options
Quote Reply
Posted: 05 Apr 2011 at 4:32pm |
|
Here is a written version of the code.
Edited by James Horton - 05 Apr 2011 at 4:40pm |
|
|
Best Regards,
James Horton Technical Analyst Parker Software |
|
![]() |
|
StuartBrook
New User
Joined: 20 May 2011 Location: London, UK Posts: 1 |
Post Options
Quote Reply
Posted: 20 May 2011 at 9:23am |
|
Hi,
How can i save a copy of the message body as a file without the message header appearing in the file? I can save the message as a TXT, but the first few lines are the original email header, and i don't require that detail, just the message body.
Thank you.
|
|
![]() |
|
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |