1 write to StatusCode
System.Net.Mail (1)
System\Net\Mail\SmtpCommands.cs (1)
694StatusCode = statusCode;
22 references to StatusCode
System.Net.Mail (22)
System\Net\Mail\SmtpCommands.cs (5)
56return info.StatusCode; 104return info.StatusCode; 361if (lines[0].StatusCode != SmtpStatusCode.Ok) 363if ((int)lines[0].StatusCode < 400) 368throw new SmtpException(lines[0].StatusCode, lines[0].Line, true);
System\Net\Mail\SmtpConnection.cs (17)
197switch (info.StatusCode) 202throw new SmtpException(info.StatusCode, info.Line, true); 276if (info.StatusCode == SmtpStatusCode.CommandParameterNotImplemented) 281while ((int)info.StatusCode == 334) 290if ((int)info.StatusCode == 235) 482if (info.StatusCode != SmtpStatusCode.ServiceReady) 484throw new SmtpException(info.StatusCode, info.Line, true); 512if (info.StatusCode != SmtpStatusCode.ServiceReady) 514thisPtr.InvokeCallback(new SmtpException(info.StatusCode, info.Line, true)); 769if ((int)info.StatusCode == 334) 777else if ((int)info.StatusCode == 235) 800if ((int)info.StatusCode == 334) 808else if ((int)info.StatusCode == 235) 844if ((int)info.StatusCode == 235) 851else if ((int)info.StatusCode != 334) 867if ((int)info.StatusCode == 235) 874else if ((int)info.StatusCode == 334)