Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatically export body of email to txt file

Status
Not open for further replies.

999Dom999

Technical User
Apr 25, 2002
266
GB
I receive emails with a huge amount of text and I only need a few lines of it. I wrote a php script to display the lines of the email I need then I can print it.

I have to manually export the email to a text file. I would like to have all emails from a certain email address automatically exported to a folder on my server, then my php script can read them. Would be good if the filenames were a number incrementing.

I am a complete newbie to notes scripting, if someone could give me example code of how to do this, plus steps on how and where the code needs to go for it to run that would be excellent! [pipe]
 
Aaaaaaah tried it again and it came up with no errors

I made the agent Trigger after email has arrived, and the conditon was multiple words and I put in domtest for a test and then sent myself an email containing domtest but it didn't do anything.

Not sure what I'm doing wrong?

[pipe]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top