SmtpSendingMessage Event
Occurs when the message is about to be sent.

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public event SmtpSendingMessageEventHandler SendingMessage

Value

Type: MailBee.SmtpMailSmtpSendingMessageEventHandler
Remarks

The developer can typically use this event for the following purposes:

Note Note
If you changed the message sender or recipients via modification of the e-mail message itself (MailMessage property), you should also update ActualSenderEmail or ActualRecipients as well (for instance, set them to a null reference (Nothing in Visual Basic) to tell MailBee to grab these values from MailMessage property. Alternatively, if you only changed ActualSenderEmail or ActualRecipients, the corresponding message headers won't be changed (the message will be sent from or to addresses different from those specified in the message headers).
Examples
See Also