Script Steps Reference

Table Of Contents
FILEMAKER SCRIPT STEPS REFERENCE 155
Subject indicates the title for the email message.
Message indicates the text of the email message. You can type the message as text, use a
field value, create a message from a calculation, or insert text from a file.
Select Attach File to select a file to send as an attachment to the mail message.
Compatibility
The Send Mail script step when sending mail using an email application is:
not supported in web publishing
not supported in a FileMaker Server scheduled script
The Send Mail script step when sending mail via SMTP is:
supported in web publishing
supported in a FileMaker Server scheduled script. If you attach a file, the file that you attach
needs to be in a folder that FileMaker Server is allowed to export to.
Originated in
FileMaker Pro 6.0 or earlier
Notes
To send email, you must have an internet connection. In addition, to send mail through an
email application, you must have the following configurations.
Windows:
A [Mail] section in the Win.ini file.
Microsoft Exchange, Microsoft Outlook, Microsoft Outlook Express and Eudora installed
and configured properly.
Mac OS:
Mac OS X Mail or Microsoft Entourage installed to send email with FileMaker Pro.
Internet system preferences configured for use with one of the supported mail
applications.
If you use Eudora 5, start the Eudora application before performing this script step.
If you select Multiple emails and For each message, collect addresses across found
set, FileMaker
Pro generates an email message for every record in the found set. Each
message is addressed to everyone specified in the TO, CC and BCC boxes for every record
in the found set.
You can create an Adobe PDF or a Microsoft Excel file from your data to send as an
attachment. For more information, see
Save Records As PDF and Save Records As Excel.
Examples
Perform Find [Restore]
Send Mail [To: script examples::Field1; Subject: "This is
a test email"; Message: "Hello, world." ]
Send Mail [Send via SMTP Server; To: "Inventors SIG"; Subject: "New Member
Greetings"; Message: "Welcome to our group."]