Skip to main content
.NET Framework 4.6.2+
  • The page you are viewing does not exist in the .NET 8.0+ platform documentation. This link will take you to the parent topic of the current section.

CustomSendMailMessageEventArgs Properties

Arguments passed to the ErrorHandling.CustomSendMailMessage event.
Name Description
ErrorDetails Gets the complete error description, including the request details, loaded assemblies, last trace entries, etc. Inherited from CustomSendErrorNotificationEventArgs.
ErrorId Gets the identifier of the error that occurred. Inherited from CustomSendErrorNotificationEventArgs.
ErrorText Gets the text of the error message. Inherited from CustomSendErrorNotificationEventArgs.
Exception Gets the exception that occurred. Inherited from CustomSendErrorNotificationEventArgs.
Handled Gets or sets a value that indicates whether the event handler has completely handled the event or whether the system should continue its own processing. Inherited from HandledEventArgs.
MailMessage Gets the error notification e-mail message.
MessageBody Gets the body of the error notification message. Inherited from CustomSendErrorNotificationEventArgs.
MessageSubject Gets the subject of the error notification message. Inherited from CustomSendErrorNotificationEventArgs.
Smtp Gets an SmtpClient providing the ability to send e-mail by using the Simple Mail Transfer Protocol (SMTP).
See Also