Script Steps Reference
Table Of Contents
- Script steps reference (alphabetical list)
- About script steps
- Control script steps
- Navigation script steps
- Editing script steps
- Fields script steps
- Set Field
- Set Field By Name
- Set Next Serial Value
- Insert Text
- Insert Calculated Result
- Insert From Device
- Insert From Index
- Insert From Last Visited
- Insert From URL
- Insert Current Date
- Insert Current Time
- Insert Current User Name
- Insert Picture
- Insert Audio/Video
- Insert PDF
- Insert File
- Replace Field Contents
- Relookup Field Contents
- Export Field Contents
- Records script steps
- New Record/Request
- Duplicate Record/Request
- Delete Record/Request
- Delete Portal Row
- Delete All Records
- Open Record/Request
- Revert Record/Request
- Commit Records/Requests
- Copy Record/Request
- Copy All Records/Requests
- Import Records
- Export Records
- Save Records As Excel
- Save Records As PDF
- Save Records As Snapshot Link
- Truncate Table
- Found Sets script steps
- Windows script steps
- Files script steps
- Accounts script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
- Show Custom Dialog
- Allow Formatting Bar
- Refresh Object
- Beep
- Speak (OS X)
- Dial Phone
- Install Plug-In File
- Install Menu Set
- Set Web Viewer
- Open URL
- Send Mail
- AVPlayer Play
- AVPlayer Set Playback State
- AVPlayer Set Options
- Refresh Portal
- Send DDE Execute (Windows)
- Perform AppleScript (OS X)
- Execute SQL
- Send Event
- Comment
- Flush Cache to Disk
- Exit Application
- Get Directory
- Enable Touch Keyboard
- Glossary
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