December 4, 20205 yr Newbies Good evening, I would need to create a script that exports the data of a format to an email. My difficulty is to insert the data in the mail in table format, instead of as simple text. Thanks.
December 5, 20205 yr See if this helps: https://fmforums.com/topic/106474-sending-emails-with-html-code-included/?do=findComment&comment=481055&_rid=72594
December 7, 20205 yr Author Newbies Good morning, unfortunately not. That post explains how to send an email in html, but I need to build it first. I have to build a table to send by mail.
December 7, 20205 yr You can build the table easily by exporting your records as HTML table. Or as XML, using a custom XSLT stylesheet. Or, if you have the patience, have your script loop over the records and construct each table row in turn. Or possibly even by formatting an SQL query so that the result is HTML. P.S. Please update your profile to reflect your version and OS so we know what you can use.
Create an account or sign in to comment