7 references to SmtpException
System.Net.Mail (7)
System\Net\Mail\MailAddress.cs (1)
216
throw new
SmtpException
(SR.Format(SR.SmtpInvalidHostName, Address), argEx);
System\Net\Mail\SmtpClient.cs (3)
531
throw new
SmtpException
(SR.SmtpSendMailFailure, e);
679
throw new
SmtpException
(SR.SmtpSendMailFailure, e);
852
exception = new
SmtpException
(SR.SmtpSendMailFailure, exception);
System\Net\Mail\SmtpFailedRecipientException.cs (2)
25
public SmtpFailedRecipientException(string? message, Exception? innerException) :
base
(message, innerException) { }
44
public SmtpFailedRecipientException(string? message, string? failedRecipient, Exception? innerException) :
base
(message, innerException)
System\Net\Mail\SmtpTransport.cs (1)
136
throw new
SmtpException
(SR.MailHostNotFound, innerException);