14 references to SmtpException
System.Net.Mail (14)
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 (4)
373
throw new
SmtpException
(SR.SmtpNeedAbsolutePickupDirectory);
481
throw new
SmtpException
(SR.SmtpPickupDirectoryDoesnotSupportSsl);
521
throw new
SmtpException
(SR.net_timeout);
616
throw new
SmtpException
(SR.SmtpPickupDirectoryDoesnotSupportSsl);
System\Net\Mail\SmtpCommands.cs (2)
209
throw new
SmtpException
(SR.SmtpAuthResponseInvalid);
359
throw new
SmtpException
(SR.SmtpEhloResponseInvalid);
System\Net\Mail\SmtpConnection.cs (5)
230
throw new
SmtpException
(SR.MailServerDoesNotSupportStartTls);
286
throw new
SmtpException
(SR.SmtpAuthenticationFailed);
560
throw new
SmtpException
(SR.MailServerDoesNotSupportStartTls);
619
throw new
SmtpException
(SR.MailServerDoesNotSupportStartTls);
834
throw new
SmtpException
(SR.SmtpAuthenticationFailed);
System\Net\Mail\SmtpFailedRecipientException.cs (1)
23
public SmtpFailedRecipientException(string? message) :
base
(message) { }