SmtpAuthenticationException Class | RefusedRecipientEventHandler Delegate | SmtpException Class | Programming with FireMail for .NET

FireMail gives the option for managing recipients that are rejected by the server. It is important to take care of the refused recipients, as once the recipient is refused, the server will not send a delivery acknowledgement. FireMail provides two ways of handling this issue.

o Message.AddressRefused - To set the event for all the recipient lists
o [To / Cc / Bcc].AddressRefused – To set the event for a particular recipient list alone

If both events are set, first the specific recipient list event will get called, then message event will be called.

If all of the recipients are refused, an exception is generally thrown by the mail server, but it is better to avoid this situation using one of the methods mentioned above.

See Also 

SmtpAuthenticationException Class | RefusedRecipientEventHandler Delegate | SmtpException Class | Programming with FireMail for .NET