WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> Plugins >> Email body including the monitores file
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1140719537

Message started by hbreuer on Feb 23rd, 2006 at 7:32pm

Title: Email body including the monitores file
Post by hbreuer on Feb 23rd, 2006 at 7:32pm
Hallo,

I am monitoring a lot of small text files. As soon as they are saved, I need them to be emailed to a certain address.

Is there anyway to send the 'created file' which triggered the monitoring as text or body of the email being sent, instead of as an attached file?

Many thanks

Hans

Title: Re: Email body including the monitores file
Post by Gert on Feb 23rd, 2006 at 8:16pm
Hello Hans,

Yea, that is possible. From the helpfile

Enter the message body
Enter the body you want to use for the email message. If you want to use the contents of the detected file as the body of your email message, use this syntax:
@@@%WD_FILE%@@@
If you want to include other files, just name them directly like this:
@@@C:\Email Texts\footer.txt@@@

Gert

WatchDirectory Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2017. All Rights Reserved.