Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Creates a new email.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WinSendMail | 7.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |
none
Returns email number or error.
Send an email with values from field:
Set Variable [ $email; Value:MBS( "WinSendMail.CreateEmail" ) ]
Set Variable [ $r; Value:MBS( "WinSendMail.AddTo"; $email; Send::To Email ; Send::To Name ) ]
Set Variable [ $r; Value:MBS( "WinSendMail.AddCC"; $email; Send::CC Email ; Send::CC Name ) ]
Set Variable [ $r; Value:MBS( "WinSendMail.SetFrom"; $email; Send::From Email ; Send::From Name ) ]
Set Variable [ $r; Value:MBS( "WinSendMail.SetSubject"; $email; Send::Subject ) ]
Set Variable [ $r; Value:MBS( "WinSendMail.SetText"; $email; Send::Text) ]
Set Variable [ $r; Value:MBS( "WinSendMail.Send"; $email ) ]
If [ MBS("IsError") ]
Show Custom Dialog [ Title: "Failed to send email"; Message: $r; Default Button: “OK”, Commit: “Yes”; Commit: “No” ]
Else
Pause/Resume Script [ Duration (seconds): 2 ]
End If
Set Variable [ $r; Value:MBS( "WinSendMail.Release"; $email ) ]
This function checks for a license.
Created 28th February 2017, last changed 25th November 2019