|SmtpGetRefusedRecipients Method |
Returns the list of the recipients rejected by the SMTP server.
MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
public EmailAddressCollection GetRefusedRecipients()
Public Function GetRefusedRecipients As EmailAddressCollection
In "send to relay SMTP server" mode, returns the list of the recipients
rejected by the SMTP server; in direct send mode (performing DNS MX lookup and sending to SMTP MX servers),
returns the list of all recipients who did not receive the message.
If refused recipients were not allowed in send to relay SMTP server mode (AllowRefusedRecipients
the component will throw an exception after the refused recipient was encountered. It means
the recipients which reside in the recipients list beyond the position of the refused
recipient will not appear in GetAcceptedRecipients