Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Sends email.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WinSendMail 7.1 No Yes No No No
MBS( "WinSendMail.Send"; WinSendMailRef; Flags )   More


Parameter Description Example value
WinSendMailRef The email reference number obtained using WinSendMai.CreateEmail function. $Email
Flags The flags.
Add 1 to show no dialog.
Add 2 to disable logon user interface.
Add 4 to disable parent window.


Returns OK or error.


Sends email.
The email is sent using the locally installed mail client.
Some email clients seem not to like more than one attachment.

With outlook you can keep text empty and attach a html file. Than Outlook will use the html file as content of the email and allows you to send html email.

Falls back to WinSendMail.SendAnsi if Unicode support is missing in older Windows versions.

Outlook loves to return failed, if you pass in email address for To/BCC/CC and no name.
See WinSendMail.SendAsync for having a function which does not wait.

See also

Example Databases

Blog Entries

Created 28th February 2017, last changed 28th February 2019

WinSendMail.Release   -   WinSendMail.SendAnsi

Feedback: Report problem or ask question.

MBS FileMaker Plugins