From External Bemet Wiki
Jump to navigation Jump to search


ForceMSGraph as Boolean


Returns or changes the ForceMSGraph flag


If this property is set to true, it will force the email to be sent/saved/shown via Microsoft Graph. When showing the email in the client, a link will be pushed to the users local PC to open the email in Outlook in the browser.
If both this property and ForceSmtp 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.ForceMSGraph = True



Available since April 2023(From version 2023.2.1.0)