Click or drag to resize

MainSendMailToReferencePath Method

This code method allows to send emails to a referred object (User / User Group / Identity) via a ReferencePath expression.

Example:

Email notification to the department manager of an identity. The string will be /OUREF/MANAGER.

Codemethod usage
Designed to be used in a process only (Yes/No) No
Action Object (data object type)Object type with reference to Identity

Namespace:  Omada.OE.Solution.OIM.Assembly
Assembly:  Omada.OE.Solution.OIM.Assembly (in Omada.OE.Solution.OIM.Assembly.dll) Version: 15.0.0.0
Syntax
C#
public bool SendMailToReferencePath(
	CodeMethodInvokeContext context,
	string referencePath,
	string mailTemplateGUID,
	bool skipSendingErrors
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
referencePath
Type: SystemString
.
mailTemplateGUID
Type: SystemString
UId of the mail template
skipSendingErrors
Type: SystemBoolean
If set to true, mail errors will be disregarded.

Return Value

Type: Boolean
See Also