Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


EthicalGamer
2015-07-14T06:17:57Z
Hi,
Requirement: - I want to mail some users with a text message body retrieved from a file in a specific location.

Details: - I need the contents inside a text file to be inserted as a text inside the mail message body which I intend to send to selected users.

Workaround: - I created Read File task and manually and linked to the text file in C directory. Then created mail task , but don't know how to bring in the output of read file into the mail message content.

Please Help !
Sponsor
Forum information
thomas
2015-07-14T06:53:37Z
If the output from the file was in the task immediately before the mail task, you can just paste this code into the message body:

{TASK(PrevTask,StdOut)}
EthicalGamer
2015-07-14T07:11:30Z
I tried but the text comes as it is.... also, mail is second task under Job A. first task is Read File. Can u help ?
Support
2015-07-14T09:09:23Z
Originally Posted by: EthicalGamer 

I tried but the text comes as it is.... also, mail is second task under Job A. first task is Read File. Can u help ?



You need to use the Variable browser to point out the Task you need output from.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
EthicalGamer
2015-07-14T09:13:40Z
Itz you again, Henrik,

I tried but once I choose the standard output , the SELECT button is faded.Inactive. Do you mind sharing a screenshot ?
Support
2015-07-14T09:20:08Z
Just copy/paste the Variable - no need to select.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
EthicalGamer
2015-07-14T09:25:11Z
It Worked. Thank you Very Much, Henrik !!!
Scroll to Top