14 references to SmtpException
System.Net.Mail (14)
System\Net\Mail\MailAddress.cs (2)
189throw new SmtpException(SR.Format(SR.SmtpNonAsciiUserNotSupported, Address)); 222throw new SmtpException(SR.Format(SR.SmtpInvalidHostName, Address));
System\Net\Mail\SmtpClient.cs (4)
373throw new SmtpException(SR.SmtpNeedAbsolutePickupDirectory); 481throw new SmtpException(SR.SmtpPickupDirectoryDoesnotSupportSsl); 521throw new SmtpException(SR.net_timeout); 616throw new SmtpException(SR.SmtpPickupDirectoryDoesnotSupportSsl);
System\Net\Mail\SmtpCommands.cs (2)
209throw new SmtpException(SR.SmtpAuthResponseInvalid); 359throw new SmtpException(SR.SmtpEhloResponseInvalid);
System\Net\Mail\SmtpConnection.cs (5)
230throw new SmtpException(SR.MailServerDoesNotSupportStartTls); 278throw new SmtpException(SR.SmtpAuthenticationFailed); 552throw new SmtpException(SR.MailServerDoesNotSupportStartTls); 611throw new SmtpException(SR.MailServerDoesNotSupportStartTls); 816throw new SmtpException(SR.SmtpAuthenticationFailed);
System\Net\Mail\SmtpFailedRecipientException.cs (1)
23public SmtpFailedRecipientException(string? message) : base(message) { }