If the email needs to contain just text and information from fields in the body, you can use a calculation to construct the body of the email. You can construct the email in plain text or get a bit fancy and use HTML.
In the Message area of the Send Mail script step, click the arrow and specify a calculation.
If the body of the email needs to be more advance and contain things like portals to show related information, graphs, container objects, etc... then this would require a pdf to be attached that would capture all this information from the layout
Sending formatted email in an email means knowing HTML. Not just web HTML, but a shortened and funky version that works in email programs. FileMaker does not do this natively in the Send Mail script step. You will need a plugin like:
And of course you will need some artistic talent and a graphics program to put things together. There are some templates available on the web, but it will mostly be detailed work by yourself to get it the way you want.
Many a person has thought they wanted an HTML email and after trying, returned to making a PDF report from FileMaker and attaching it to an email. Or you can do use a commercial email service like Constant Contact. But if you do get through figuring out how to do HTML email, there is a lot you can do with it for sending commercial emails.
I'm going to tend to agree with Taylor. HTML mail works, but many mail clients are finicky. (It's getting better, but ... still.) Your HTML will often need to be pretty simple for the code to work properly, and, usually, the receiving machine will need to have a network connection to access any images that are included.
As an additional consideration, some mail clients (such as Apple's Mail) automatically parse out and display PDF files so the receipient will see it immediately - delivering the result desired with a lot less annoyance.
Just my $0.02.
As already suggested you will need to code the email in HTML.
A guide to coding emails in HTML:
I am well versed in HTML, CSS, PHP and developing websites for clients. However, HTML emails are a whole other ball game, though I may succeed, it takes a lot of testing. Remember to test Hotmail, Gmail, Outlook on Mac, Outlook on PC. Failure to do so will likely mean that one of them will display differently to the other.
There is also a product called fmSpark that does mail merge, including HTML email. It's developed by the Proof Group and sold via SeedCode:
Might want to look into it if you don't want to "roll your own". It bundles the Dacons mailit plugin.
220 Gaines Oak Way
Suwanee, GA 30024
Voice: (678) 313-5604
FileMaker Certified Developer