Hey all… Not even sure if TDP can do this. But, I would like to include in the email body a table of column values. For example:
Hi,
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. The values are:
Col_1 Col_2
ABC 123
ZXY 123
DEF 456
Thanks.
Is this possible? If so, how? If not, any workaround, other than attaching Excel/CSV file?
Yes, you can do this. Use seledt to file to export your data to csv. Then use a form letter with some tokens like below. Using Find and Replace find the
token and replace with contents of csv file.
Dear ,
Here is Order number <Order_Id>. This order contains the following items.
That I am not sure of. You can easily export a result set to html from the select to file. You can also edit that file using find and replace. But I am not sure how to insert a data set into html or build the table itself.
I know this was a few years ago, but is the solution here? The link is not viewable.
Our team is trying to do this exact thing which is use an html body in an email automation but include variables from our different sql scripts in the html body.
We are using Toad DataPoint Pro version 4.3.0.718.