10 references to SmtpException
System.Net.Mail (10)
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 (3)
365throw new SmtpException(SR.SmtpNeedAbsolutePickupDirectory); 505throw new SmtpException(SR.SmtpPickupDirectoryDoesnotSupportSsl); 554return ExceptionDispatchInfo.SetCurrentStackTrace(new SmtpException(SR.net_timeout));
System\Net\Mail\SmtpCommands.cs (2)
58throw new SmtpException(SR.SmtpAuthResponseInvalid); 182throw new SmtpException(SR.SmtpEhloResponseInvalid);
System\Net\Mail\SmtpConnection.cs (2)
154throw new SmtpException(SR.MailServerDoesNotSupportStartTls); 223throw new SmtpException(SR.SmtpAuthenticationFailed);
System\Net\Mail\SmtpFailedRecipientException.cs (1)
23public SmtpFailedRecipientException(string? message) : base(message) { }