Class CallbackHandler
- Namespace
- Dynamicweb.Mailing
- Assembly
- Dynamicweb.Core.dll
Represents callback handler object
public class CallbackHandler
- Inheritance
-
CallbackHandler
- Derived
- Inherited Members
Methods
OnAfterDelivery(CallbackHandlerContext, Message, Recipient, MessageDeliverer, MailMessage?)
public virtual void OnAfterDelivery(CallbackHandlerContext context, Message message, Recipient recipient, MessageDeliverer deliverer, MailMessage? mailMessage)
Parameters
context
CallbackHandlerContextmessage
Messagerecipient
Recipientdeliverer
MessageDeliverermailMessage
MailMessage
OnAfterMergeAndDelivery(CallbackHandlerContext, Message, RecipientCollection, MessageDeliverer)
public virtual void OnAfterMergeAndDelivery(CallbackHandlerContext context, Message message, RecipientCollection recipients, MessageDeliverer deliverer)
Parameters
context
CallbackHandlerContextmessage
Messagerecipients
RecipientCollectiondeliverer
MessageDeliverer
OnAfterMerging(CallbackHandlerContext, Message, Recipient)
public virtual void OnAfterMerging(CallbackHandlerContext context, Message message, Recipient recipient)
Parameters
context
CallbackHandlerContextmessage
Messagerecipient
Recipient
OnAfterMessageSave(CallbackHandlerContext, Message, MessageSaveInfo)
public virtual void OnAfterMessageSave(CallbackHandlerContext context, Message message, MessageSaveInfo messageSaveInfo)
Parameters
context
CallbackHandlerContextmessage
MessagemessageSaveInfo
MessageSaveInfo
OnAfterPreprocessing(CallbackHandlerContext, Message)
public virtual void OnAfterPreprocessing(CallbackHandlerContext context, Message message)
Parameters
context
CallbackHandlerContextmessage
Message
OnAfterRecipientsSave(CallbackHandlerContext, RecipientCollection, bool)
public virtual void OnAfterRecipientsSave(CallbackHandlerContext context, RecipientCollection recipients, bool didSave)
Parameters
context
CallbackHandlerContextrecipients
RecipientCollectiondidSave
bool
OnBeforeDelivery(CallbackHandlerContext, Message, Recipient, MessageDeliverer, MailMessage?)
public virtual void OnBeforeDelivery(CallbackHandlerContext context, Message message, Recipient recipient, MessageDeliverer deliverer, MailMessage? mailMessage)
Parameters
context
CallbackHandlerContextmessage
Messagerecipient
Recipientdeliverer
MessageDeliverermailMessage
MailMessage
OnBeforeMergeAndDelivery(CallbackHandlerContext, Message, RecipientCollection, MessageDeliverer)
public virtual void OnBeforeMergeAndDelivery(CallbackHandlerContext context, Message message, RecipientCollection recipients, MessageDeliverer deliverer)
Parameters
context
CallbackHandlerContextmessage
Messagerecipients
RecipientCollectiondeliverer
MessageDeliverer
OnBeforeMerging(CallbackHandlerContext, Message, Recipient)
public virtual void OnBeforeMerging(CallbackHandlerContext context, Message message, Recipient recipient)
Parameters
context
CallbackHandlerContextmessage
Messagerecipient
Recipient
OnBeforeMessageSave(CallbackHandlerContext, Message)
public virtual void OnBeforeMessageSave(CallbackHandlerContext context, Message message)
Parameters
context
CallbackHandlerContextmessage
Message
OnBeforePreprocessing(CallbackHandlerContext, Message)
public virtual void OnBeforePreprocessing(CallbackHandlerContext context, Message message)
Parameters
context
CallbackHandlerContextmessage
Message
OnBeforeRecipientsSave(CallbackHandlerContext, RecipientCollection)
public virtual void OnBeforeRecipientsSave(CallbackHandlerContext context, RecipientCollection recipients)
Parameters
context
CallbackHandlerContextrecipients
RecipientCollection
OnComplete(CallbackHandlerContext, Message, RecipientCollection)
public virtual void OnComplete(CallbackHandlerContext context, Message message, RecipientCollection recipients)
Parameters
context
CallbackHandlerContextmessage
Messagerecipients
RecipientCollection