"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.

subject=Test email
Message=<rtf text>
Attachment1=<base64encoded information>

Has anyone got a code snippet that can do this.
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 !
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.
All Courses

From novice to tech pro — start learning today.