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