10 references to SmtpException
System.Net.Mail (10)
System\Net\Mail\MailAddress.cs (2)
200
throw new
SmtpException
(SR.Format(SR.SmtpNonAsciiUserNotSupported, Address));
233
throw new
SmtpException
(SR.Format(SR.SmtpInvalidHostName, Address));
System\Net\Mail\SmtpClient.cs (3)
433
throw new
SmtpException
(SR.SmtpNeedAbsolutePickupDirectory);
573
throw new
SmtpException
(SR.SmtpPickupDirectoryDoesnotSupportSsl);
622
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)
128
throw new
SmtpException
(SR.MailServerDoesNotSupportStartTls);
186
throw new
SmtpException
(SR.SmtpAuthenticationFailed);
System\Net\Mail\SmtpFailedRecipientException.cs (1)
23
public SmtpFailedRecipientException(string? message) :
base
(message) { }