1 type derived from SmtpException
System.Net.Mail (1)
System\Net\Mail\SmtpFailedRecipientException.cs (1)
13
public class SmtpFailedRecipientException :
SmtpException
35 instantiations of SmtpException
System.Net.Mail (35)
System\Net\Mail\MailAddress.cs (3)
189
throw new
SmtpException
(SR.Format(SR.SmtpNonAsciiUserNotSupported, Address));
216
throw new
SmtpException
(SR.Format(SR.SmtpInvalidHostName, Address), argEx);
222
throw new
SmtpException
(SR.Format(SR.SmtpInvalidHostName, Address));
System\Net\Mail\SmtpClient.cs (7)
373
throw new
SmtpException
(SR.SmtpNeedAbsolutePickupDirectory);
481
throw new
SmtpException
(SR.SmtpPickupDirectoryDoesnotSupportSsl);
521
throw new
SmtpException
(SR.net_timeout);
531
throw new
SmtpException
(SR.SmtpSendMailFailure, e);
616
throw new
SmtpException
(SR.SmtpPickupDirectoryDoesnotSupportSsl);
679
throw new
SmtpException
(SR.SmtpSendMailFailure, e);
852
exception = new
SmtpException
(SR.SmtpSendMailFailure, exception);
System\Net\Mail\SmtpCommands.cs (16)
209
throw new
SmtpException
(SR.SmtpAuthResponseInvalid);
269
throw new
SmtpException
(SR.net_webstatus_ServerProtocolViolation, serverResponse);
272
throw new
SmtpException
(statusCode, serverResponse, true);
321
throw new
SmtpException
(SR.net_webstatus_ServerProtocolViolation, serverResponse);
324
throw new
SmtpException
(statusCode, serverResponse, true);
359
throw new
SmtpException
(SR.SmtpEhloResponseInvalid);
365
throw new
SmtpException
(SR.net_webstatus_ServerProtocolViolation, lines[0].Line);
368
throw new
SmtpException
(lines[0].StatusCode, lines[0].Line, true);
421
throw new
SmtpException
(SR.net_webstatus_ServerProtocolViolation, serverResponse);
424
throw new
SmtpException
(statusCode, serverResponse, true);
479
throw new
SmtpException
(SR.net_webstatus_ServerProtocolViolation, response);
482
throw new
SmtpException
(statusCode, response, true);
538
throw new
SmtpException
(SR.net_webstatus_ServerProtocolViolation, response);
541
throw new
SmtpException
(statusCode, response, true);
608
throw new
SmtpException
(SR.net_webstatus_ServerProtocolViolation, response);
611
throw new
SmtpException
(statusCode, response, true);
System\Net\Mail\SmtpConnection.cs (8)
202
throw new
SmtpException
(info.StatusCode, info.Line, true);
230
throw new
SmtpException
(SR.MailServerDoesNotSupportStartTls);
286
throw new
SmtpException
(SR.SmtpAuthenticationFailed);
484
throw new
SmtpException
(info.StatusCode, info.Line, true);
514
thisPtr.InvokeCallback(new
SmtpException
(info.StatusCode, info.Line, true));
560
throw new
SmtpException
(SR.MailServerDoesNotSupportStartTls);
619
throw new
SmtpException
(SR.MailServerDoesNotSupportStartTls);
834
throw new
SmtpException
(SR.SmtpAuthenticationFailed);
System\Net\Mail\SmtpTransport.cs (1)
136
throw new
SmtpException
(SR.MailHostNotFound, innerException);
9 references to SmtpException
netstandard (1)
netstandard.cs (1)
1180
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Mail.
SmtpException
))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
666
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Mail.
SmtpException
))]
System.Net.Mail (7)
System\Net\Mail\SmtpClient.cs (4)
526
e is
SmtpException
)
674
e is
SmtpException
)
850
if (!(exception is
SmtpException
))
864
catch (
SmtpException
se)
System\Net\Mail\SmtpConnection.cs (3)
210
catch (
SmtpException
e)
522
catch (
SmtpException
)
597
catch (
SmtpException
e)