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