Script Steps Reference

Table Of Contents
Miscellaneous script steps
F
ILEMAKER SCRIPT STEPS REFERENCE 259
The Send Mail script step does not control the font’s appearance. Use the email client to
make any changes to the font.
FileMaker Pro sends email messages as plain text. To edit the message's contents and
formatting, choose to send the message through an email client and do not select the
Perform without dialog option. You can then edit the message within the email client
before it is sent.
Example 1
Goes to the Customers layout, performs a find, and sends a prewritten email to the address in the
Email field in the current record without prompting the user.
Go to Layout ["Customers"]
Perform Find [Restore]
Send Mail [Send via E-mail Client; No dialog; To: Customers::Email;
Subject: Invoices::Summary; Message: "Dear Customer,¶¶Thank you for your
business."]
#The Collect addresses across found set option is not selected.
Example 2
Saves the current record as a PDF, then emails the PDF to the address in the Email field in the
current record.
Go to Layout ["Print Invoices"]
Save Records as PDF [Restore; No dialog; "Invoice.pdf"; Current record]
Send Mail [Send via E-mail Client; No dialog; To: Customers::Email;
Subject: Invoices::Summary; Message: "Dear Customer,¶¶Thank you for your
business. Your invoice is attached."; "Invoice.pdf"]
Go to Layout [original layout]