WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> How to... >> HTML in consolidated email
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1207165229

Message started by joegoose on Apr 2nd, 2008 at 9:40pm

Title: HTML in consolidated email
Post by joegoose on Apr 2nd, 2008 at 9:40pm
My company uses WatchDirectory to monitor for new files in a directory and then to email a team regarding the new file.  It is useful to have a hyperlink to allow the user to click straight from the email to the file.  Unfortunately the path and file often have spaces which means that the only way to perform this is by writing the html code for the link.  This means that we cannot make use of the batch email facility as WD only looks in the single email body for <html> tags.

It would be helpful of you allowed the opening tags to be written into the opening text box of the combined email and the closing tags to be written into the closing text box.  then the actual individual email text could be the hyperlink required (which WD creates beautifully using the built in tags)  8-)

Any thoughts?

joe

Title: Re: HTML in consolidated email
Post by Gert on Apr 3rd, 2008 at 7:57am
Hello Joe,

Thanks for the suggestion....
If I understand you correctly, you want WD to determine if the email is "html" based on the final email to send (after combining) - not based upon the individual email-"parts" that contribute to the combined email.

I will see if this can be implemented in a future release.

Gert

Title: Re: HTML in consolidated email
Post by joegoose on Apr 3rd, 2008 at 6:39pm
just to rephrase incase it was not clear.

when you send an email on every event, you can configure the header and body. you can put html into the body and WD automatically sends the email as html.

When you send a consolidated email you can configure the consolidated email header, an intro and an append.  when the consolidated email is compiled it includes the individual email bodies between the intro and append.

you currently cannot send a cosolidated html email as WD only recognizes the <html> tag in the individual message body.

if you could configure it to look for a <html> tag in the intro of the combined email and you put closing tags in the append then all of the individual bodies would just require format tags and you could dynamically create a html page

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