In Development

Sending FileMaker HTML Emails

When sending emails to customers, it can often help get their attention by adding a bit of design and creativity to what could otherwise be a boring block of text. With FileMaker you can now send HTML emails without the need for 3rd-party plugins, making upgrading FileMaker easier. Let’s take a look at how to send native HTML emails using FileMaker.

How To Send

The Insert From URL script step now supports the SMTP protocol and includes a handful of SMTP cURL options. Using your SMTP server as the URL and the “–mail-from” and “–mail-rcpt” cURL options, you can specify where the email is sent from, who is sending the email, and who is receiving the email. Perhaps most importantly, you can use the “–upload-file” cURL option to upload a text file containing the HTML that you want to send.

URL

smtp://<SMTP Server>:<SMTP Port>

cURL

--ssl
--mail-from "<From Email>"
--mail-rcpt "<To Email>"
--upload-file $emailBodyFile
--user "<SMTP Username>:<SMTP Password>"

And now that FileMaker can natively read and write files, you can use those script steps to create the HTML file for the email or you can use Base64 Encode and Decode to take the HTML and save it to a file in a container.

Conclusion

FileMaker can now send HTML emails natively! By using a little scripting and some simple cURL options, you can send beautifully designed HTML emails, eliminating the need of 3rd-party products and helping you grab your customers attention. Contact us if you would like help sending native HTML emails out of FileMaker.

 

Did you know we are an authorized reseller for FileMaker Licensing?
Contact us to discuss upgrading your FileMaker software.

DownloadDownload the Sending FileMaker HTML Emails Database

Please complete the form below to download your FREE FileMaker database file.

FileMaker File I/O Script StepsFileMaker Server Monitoring with Zabbix