WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Send contents of text file rather than attachment (Read 2369 times)
Mauricej74
YaBB Newbies
*
Offline



Posts: 4
Send contents of text file rather than attachment
Sep 8th, 2006 at 9:17pm
 
First off let me say that WatchDirectory has been the best thing since sliced bread around here... We got it for one task and are using it for many others now -- its a treat.

I'm using the option to email a (text) file that has been created/changed as an attachment -- I was wondering if WatchDirectory could email the contents of the file instead, so the text appears in the message body rather than as an attachment?

Thanks
Maurice
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2224
The Netherlands
Re: Send contents of text file rather than attachm
Reply #1 - Sep 10th, 2006 at 12:45pm
 
Thanks for the kind words!

Using the detected file as the message body is already supported, from the helpfile:

Quote:
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
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Page Index Toggle Pages: 1