using System; namespace System.Net.Mail { /// Specifies the outcome of sending e-mail by using the class. // Token: 0x0200014D RID: 333 public enum SmtpStatusCode { /// The commands were sent in the incorrect sequence. // Token: 0x04000B5B RID: 2907 BadCommandSequence = 503, /// The specified user is not local, but the receiving SMTP service accepted the message and attempted to deliver it. This status code is defined in RFC 1123, which is available at http://www.ietf.org. // Token: 0x04000B5C RID: 2908 CannotVerifyUserWillAttemptDelivery = 252, /// The client was not authenticated or is not allowed to send mail using the specified SMTP host. // Token: 0x04000B5D RID: 2909 ClientNotPermitted = 454, /// The SMTP service does not implement the specified command. // Token: 0x04000B5E RID: 2910 CommandNotImplemented = 502, /// The SMTP service does not implement the specified command parameter. // Token: 0x04000B5F RID: 2911 CommandParameterNotImplemented = 504, /// The SMTP service does not recognize the specified command. // Token: 0x04000B60 RID: 2912 CommandUnrecognized = 500, /// The message is too large to be stored in the destination mailbox. // Token: 0x04000B61 RID: 2913 ExceededStorageAllocation = 552, /// The transaction could not occur. You receive this error when the specified SMTP host cannot be found. // Token: 0x04000B62 RID: 2914 GeneralFailure = -1, /// A Help message was returned by the service. // Token: 0x04000B63 RID: 2915 HelpMessage = 214, /// The SMTP service does not have sufficient storage to complete the request. // Token: 0x04000B64 RID: 2916 InsufficientStorage = 452, /// The SMTP service cannot complete the request. This error can occur if the client's IP address cannot be resolved (that is, a reverse lookup failed). You can also receive this error if the client domain has been identified as an open relay or source for unsolicited e-mail (spam). For details, see RFC 2505, which is available at http://www.ietf.org. // Token: 0x04000B65 RID: 2917 LocalErrorInProcessing = 451, /// The destination mailbox is in use. // Token: 0x04000B66 RID: 2918 MailboxBusy = 450, /// The syntax used to specify the destination mailbox is incorrect. // Token: 0x04000B67 RID: 2919 MailboxNameNotAllowed = 553, /// The destination mailbox was not found or could not be accessed. // Token: 0x04000B68 RID: 2920 MailboxUnavailable = 550, /// The email was successfully sent to the SMTP service. // Token: 0x04000B69 RID: 2921 Ok = 250, /// The SMTP service is closing the transmission channel. // Token: 0x04000B6A RID: 2922 ServiceClosingTransmissionChannel = 221, /// The SMTP service is not available; the server is closing the transmission channel. // Token: 0x04000B6B RID: 2923 ServiceNotAvailable = 421, /// The SMTP service is ready. // Token: 0x04000B6C RID: 2924 ServiceReady = 220, /// The SMTP service is ready to receive the e-mail content. // Token: 0x04000B6D RID: 2925 StartMailInput = 354, /// The syntax used to specify a command or parameter is incorrect. // Token: 0x04000B6E RID: 2926 SyntaxError = 501, /// A system status or system Help reply. // Token: 0x04000B6F RID: 2927 SystemStatus = 211, /// The transaction failed. // Token: 0x04000B70 RID: 2928 TransactionFailed = 554, /// The user mailbox is not located on the receiving server. You should resend using the supplied address information. // Token: 0x04000B71 RID: 2929 UserNotLocalTryAlternatePath = 551, /// The user mailbox is not located on the receiving server; the server forwards the e-mail. // Token: 0x04000B72 RID: 2930 UserNotLocalWillForward = 251, /// The SMTP server is configured to accept only TLS connections, and the SMTP client is attempting to connect by using a non-TLS connection. The solution is for the user to set EnableSsl=true on the SMTP Client. // Token: 0x04000B73 RID: 2931 MustIssueStartTlsFirst = 530 } }