HTML file contents into body e-mail

Discuss RoboTask here
Post Reply
Gekseppe
Posts: 16
Joined: Tue Sep 02, 2008 4:45 am
Location: Iceland

HTML file contents into body e-mail

Post 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 !
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

HTML file contents into body e-mail

Post 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.
Last edited by Oleg on Mon Sep 15, 2008 8:55 am, edited 1 time in total.
Gekseppe
Posts: 16
Joined: Tue Sep 02, 2008 4:45 am
Location: Iceland

HTML file contents into body e-mail

Post by Gekseppe »

Thanks !
Post Reply