SendFailedException
classin packageklyn.mails
public class SendFailedException extends MessagingException:
└ SendFailedException
Raised when SMTP delivery fails for one or more recipients.
import klyn.mails
try:
throw SendFailedException("Rejected recipient")
catch ex as SendFailedException:
print(ex.message)
Properties
| Modifier and Type |
Member |
Description |
| public property |
invalidAddresses |
Recipients rejected by the SMTP server. |
| public property |
unsentAddresses |
Recipients left unsent because of the failure. |
| public property |
validSentAddresses |
Recipients that were accepted by the SMTP server. |
Constructors