"After mail has arrived" Agent code to process email

I have a working "After new email has arrived" agent. I wish to use Lotus Script to parse the email and write the contents out to a file in a ini/xml file format e.g.

from=abc@xyz.com
subject=Test email
Message=<rtf text>
Attachment1=<base64encoded information>
etc.

Has anyone got a code snippet that can do this.
chafford100Asked:
Who is Participating?
 
SysExpertConnect With a Mentor Commented:
NO , but depending on the content you may need to look at the XML classes in Lotus Script

 
I hope this helps !
0
 
chafford100Author Commented:
Is there a code snippet to loop around the new email that has been received say extracting the subject of the email. I can then extend to do the rest.
0
All Courses

From novice to tech pro — start learning today.