Click or drag to resize

MailMessageProcesserDelegate Delegate

Delegate function definition. Used in the MailController to allow processing of mails just before they are send.

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public delegate bool MailMessageProcesserDelegate(
	SendMailProcesserArgs args,
	ref MailMessage message
)

Parameters

args
Type: Omada.OE.AppLogicSendMailProcesserArgs
Arguments object passing relevant information from the email send function. The class will be SendMailProcesserArgs for SendMail and SendEventMailProcesserArgs for SendEventMails.
message
Type: System.Net.MailMailMessage
Mail message object to be altered

Return Value

Type: Boolean
True = The mail is okay and ready to be sent. False = The mail is not to be sent.
See Also