Page 1 of 1

HTML file contents into body e-mail

Posted: Sun Sep 14, 2008 11:55 pm
by Gekseppe
Hi;

I would need some help to create a task with the following actions:

1. copy the contents of a HTML file;
2. paste the contents of the HTML file into the body e-mail.

Many thanks !

HTML file contents into body e-mail

Posted: Mon Sep 15, 2008 12:09 am
by Oleg
There is {TextFile()} system variable for this purpose.
Just put into message body approx the following:
{TextFile(c:\tempfolder\MyFile.html)}

HTML file is the text file, therefore you can use {TextFile()} variable.
You have to specify the full file name of your HTML as parameter.

HTML file contents into body e-mail

Posted: Mon Sep 15, 2008 4:50 am
by Gekseppe
Thanks !