PdcExtensionMail.ForceSmtp
Jump to navigation
Jump to search
Declaration
ForceSmtp as Boolean
Description
Returns or changes the ForceSmtp flag
Notes
If this property is set to true, it will force the email to be sent via SMTP, or shown in the Bemet email form.
If both this property and ForceMSGraph are false, the emailsettings from pdc will be used. (Of either the scheduler, the specific user, or the general emailsettings).
Code example
This code example creates an empty email, and shows the resulting email in a client.
Dim aEmail As PDCEXT.IExtensionMail = PDC.App.ExtensionMail
aEmail.ForceSmtp = True
aEmail.ShowMailInClient()
Availability
Available since April 2023(From version 2023.2.1.0)