Get or sets a MM_SIGN_MODE value that specifies if the message will be digitally signed, and how it will be signed.
Note that when using a strongly protected certificate, the operating system will prompted you with a dialog box confirming the fact that you are signing with this certificate. It is therefore not possible to use a strong certificate in a server side environment (ASP, ASPX, etc.)
By default SignMode is set to MM_SIGN_MODE.mmSignNo.
| Exception Type | Condition |
|---|---|
| ArgumentException | SignMode is set with and invalid MM_SIGN_MODE value. |
| MailMillException | Your license does not allow you to use S/MIME functionalities. |
This sample shows how to specify the message signature mode.
Mail oMail = new Mail(); oMail.SignMode = MM_SIGN_MODE.mmSignClear;
Mail Class | MailMill Namespace | MM_SIGN_MODE | SenderCertificateLocation