How to set text file contents as email body

Post Reply
mrkkrai
Member
Posts: 27
Joined: Thu Mar 17, 2016 4:31 pm

How to set text file contents as email body

Post by mrkkrai » Sat Jan 16, 2021 9:33 am

Hi:

Please help me to set text file contents as email body of Mail send configurator.

Thanks

jan_suhr
Advanced member
Posts: 408
Joined: Fri Nov 04, 2011 1:12 pm
Location: Nyköping, Sweden

Re: How to set text file contents as email body

Post by jan_suhr » Sat Jan 16, 2021 9:42 am

You can add the text file as an Opaque dataset to the job in the flow.

Then in the Email configurator you pick up that Dataset as a Template dataset with the Body template as Associated with job
Jan Suhr
Color Consult AB
Sweden
=============
Check out my apps

mrkkrai
Member
Posts: 27
Joined: Thu Mar 17, 2016 4:31 pm

Re: How to set text file contents as email body

Post by mrkkrai » Sat Jan 16, 2021 12:37 pm

Thanks a ton sir...

I tried and succeeded.

Is there any possibility to email some particular text from that text file?

jan_suhr
Advanced member
Posts: 408
Joined: Fri Nov 04, 2011 1:12 pm
Location: Nyköping, Sweden

Re: How to set text file contents as email body

Post by jan_suhr » Sat Jan 16, 2021 12:57 pm

You can have Switch variables as markers in the text file and from that add text to the mail.

But if you need to edit the text it has to be done before it becomes a dataset.
Jan Suhr
Color Consult AB
Sweden
=============
Check out my apps

mrkkrai
Member
Posts: 27
Joined: Thu Mar 17, 2016 4:31 pm

Re: How to set text file contents as email body

Post by mrkkrai » Mon Jan 18, 2021 11:00 am

Is there any way to convert text file to xml so that I can use XML Pickup?

Post Reply