Script Steps Reference

Table Of Contents
Miscellaneous script steps
F
ILEMAKER PRO SCRIPT STEPS REFERENCE 258
Compatibility
Originated in
FileMaker Pro 6.0 or earlier
Description
Send Mail sends an intranet or Internet email message through an email application or via SMTP
(Simple Mail Transfer Protocol).
Notes
Sending mail using an email application is not supported in Custom Web Publishing or in
server-side scripts.
Server-side scripts support sending mail via SMTP. However, if you attach a file, that file
needs to be in a folder that FileMaker
Server is allowed to export to. For more information,
see Get(DocumentsPath) function.
FileMaker WebDirect does not support the Attach File option. Web users must manually
attach saved or exported files to email messages. FileMaker
WebDirect also does not
support the With dialog: Off option when sending mail via an email client.
FileMaker Go does not support the With dialog: Off option. The email message displays on
the device, and you can send the message manually.
If this script step sends an email message via an email client in FileMaker WebDirect, limit
the To, CC, BCC, Subject, and Body options to 2000 characters total. If the email message
contains more than 2000 characters, the web browser may not allow FileMaker
WebDirect
to send the message.
To send mail through an email application, you must have a supported email application
installed and configured properly. In Windows, a [Mail] section in the Win.ini file is required.
If you select Multiple emails and 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 a 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.
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 set the With dialog
option to On. You can then edit the message within the email client before it is sent.
FileMaker Pro verifies the SSL certificate of an SMTP server that is using an encrypted
connection. If the certificate cannot be verified, users can choose to connect anyway or
cancel to skip this script step. If the certificate cannot be verified and the
Set Error Capture
script step is set to On, this script step behaves as if the server were unavailable. If the
certificate cannot be verified in server-side scripts, Custom Web Publishing, and
FileMaker
WebDirect, this script step behaves as if it had been canceled by the user.
Where the script step runs Supported
FileMaker Pro Yes
FileMaker Server Partial
FileMaker Go Partial
Custom Web Publishing Partial
FileMaker WebDirect Partial
Runtime solution Yes