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.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Signs the email.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SendMail | 11.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
EmailID | The email reference number obtained using SendMail.CreateEmail function. | $EmailID |
X509Ref | The reference to the X509 certificate. | $cert |
PKeyRef | The reference to the private key. | $pkey |
Returns OK or error.
Sign an email:
Set Variable [ $cert ; Value: MBS( "X509.Read"; EMail::Certificate ) ]
Set Variable [ $key ; Value: MBS( "PKey.Read"; EMail::PrivateKey ) ]
Set Variable [ $r ; Value: MBS("SendMail.Sign"; $EmailID; $cert; $key) ]
If [ MBS("IsError") ]
Show Custom Dialog [ "Failed to sign email" ; $r ]
End If
Set Variable [ $r ; Value: MBS( "PKey.Release"; $key ) ]
Set Variable [ $r ; Value: MBS( "X509.Release"; $cert ) ]
This function checks for a license.
Created 22nd August 2021, last changed 17th March 2022