PdcExtensionMail.ForceSmtp

From External Bemet Wiki
Revision as of 13:02, 23 March 2023 by TC (talk | contribs) (Created page with "== 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 sen...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

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)