10 references to SmtpException
System.Net.Mail (10)
System\Net\Mail\MailAddress.cs (2)
189
throw new
SmtpException
(SR.Format(SR.SmtpNonAsciiUserNotSupported, Address));
222
throw new
SmtpException
(SR.Format(SR.SmtpInvalidHostName, Address));
System\Net\Mail\SmtpClient.cs (3)
365
throw new
SmtpException
(SR.SmtpNeedAbsolutePickupDirectory);
505
throw new
SmtpException
(SR.SmtpPickupDirectoryDoesnotSupportSsl);
554
return ExceptionDispatchInfo.SetCurrentStackTrace(new
SmtpException
(SR.net_timeout));
System\Net\Mail\SmtpCommands.cs (2)
58
throw new
SmtpException
(SR.SmtpAuthResponseInvalid);
182
throw new
SmtpException
(SR.SmtpEhloResponseInvalid);
System\Net\Mail\SmtpConnection.cs (2)
154
throw new
SmtpException
(SR.MailServerDoesNotSupportStartTls);
223
throw new
SmtpException
(SR.SmtpAuthenticationFailed);
System\Net\Mail\SmtpFailedRecipientException.cs (1)
23
public SmtpFailedRecipientException(string? message) :
base
(message) { }