86 lines
4.5 KiB
C#
86 lines
4.5 KiB
C#
using System;
|
|
|
|
namespace System.Net.Mail
|
|
{
|
|
/// <summary>Specifies the outcome of sending e-mail by using the <see cref="T:System.Net.Mail.SmtpClient" /> class.</summary>
|
|
// Token: 0x0200014D RID: 333
|
|
public enum SmtpStatusCode
|
|
{
|
|
/// <summary>The commands were sent in the incorrect sequence.</summary>
|
|
// Token: 0x04000B5B RID: 2907
|
|
BadCommandSequence = 503,
|
|
/// <summary>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.</summary>
|
|
// Token: 0x04000B5C RID: 2908
|
|
CannotVerifyUserWillAttemptDelivery = 252,
|
|
/// <summary>The client was not authenticated or is not allowed to send mail using the specified SMTP host.</summary>
|
|
// Token: 0x04000B5D RID: 2909
|
|
ClientNotPermitted = 454,
|
|
/// <summary>The SMTP service does not implement the specified command.</summary>
|
|
// Token: 0x04000B5E RID: 2910
|
|
CommandNotImplemented = 502,
|
|
/// <summary>The SMTP service does not implement the specified command parameter.</summary>
|
|
// Token: 0x04000B5F RID: 2911
|
|
CommandParameterNotImplemented = 504,
|
|
/// <summary>The SMTP service does not recognize the specified command.</summary>
|
|
// Token: 0x04000B60 RID: 2912
|
|
CommandUnrecognized = 500,
|
|
/// <summary>The message is too large to be stored in the destination mailbox.</summary>
|
|
// Token: 0x04000B61 RID: 2913
|
|
ExceededStorageAllocation = 552,
|
|
/// <summary>The transaction could not occur. You receive this error when the specified SMTP host cannot be found.</summary>
|
|
// Token: 0x04000B62 RID: 2914
|
|
GeneralFailure = -1,
|
|
/// <summary>A Help message was returned by the service.</summary>
|
|
// Token: 0x04000B63 RID: 2915
|
|
HelpMessage = 214,
|
|
/// <summary>The SMTP service does not have sufficient storage to complete the request.</summary>
|
|
// Token: 0x04000B64 RID: 2916
|
|
InsufficientStorage = 452,
|
|
/// <summary>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.</summary>
|
|
// Token: 0x04000B65 RID: 2917
|
|
LocalErrorInProcessing = 451,
|
|
/// <summary>The destination mailbox is in use.</summary>
|
|
// Token: 0x04000B66 RID: 2918
|
|
MailboxBusy = 450,
|
|
/// <summary>The syntax used to specify the destination mailbox is incorrect.</summary>
|
|
// Token: 0x04000B67 RID: 2919
|
|
MailboxNameNotAllowed = 553,
|
|
/// <summary>The destination mailbox was not found or could not be accessed.</summary>
|
|
// Token: 0x04000B68 RID: 2920
|
|
MailboxUnavailable = 550,
|
|
/// <summary>The email was successfully sent to the SMTP service.</summary>
|
|
// Token: 0x04000B69 RID: 2921
|
|
Ok = 250,
|
|
/// <summary>The SMTP service is closing the transmission channel.</summary>
|
|
// Token: 0x04000B6A RID: 2922
|
|
ServiceClosingTransmissionChannel = 221,
|
|
/// <summary>The SMTP service is not available; the server is closing the transmission channel.</summary>
|
|
// Token: 0x04000B6B RID: 2923
|
|
ServiceNotAvailable = 421,
|
|
/// <summary>The SMTP service is ready.</summary>
|
|
// Token: 0x04000B6C RID: 2924
|
|
ServiceReady = 220,
|
|
/// <summary>The SMTP service is ready to receive the e-mail content.</summary>
|
|
// Token: 0x04000B6D RID: 2925
|
|
StartMailInput = 354,
|
|
/// <summary>The syntax used to specify a command or parameter is incorrect.</summary>
|
|
// Token: 0x04000B6E RID: 2926
|
|
SyntaxError = 501,
|
|
/// <summary>A system status or system Help reply.</summary>
|
|
// Token: 0x04000B6F RID: 2927
|
|
SystemStatus = 211,
|
|
/// <summary>The transaction failed.</summary>
|
|
// Token: 0x04000B70 RID: 2928
|
|
TransactionFailed = 554,
|
|
/// <summary>The user mailbox is not located on the receiving server. You should resend using the supplied address information.</summary>
|
|
// Token: 0x04000B71 RID: 2929
|
|
UserNotLocalTryAlternatePath = 551,
|
|
/// <summary>The user mailbox is not located on the receiving server; the server forwards the e-mail.</summary>
|
|
// Token: 0x04000B72 RID: 2930
|
|
UserNotLocalWillForward = 251,
|
|
/// <summary>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.</summary>
|
|
// Token: 0x04000B73 RID: 2931
|
|
MustIssueStartTlsFirst = 530
|
|
}
|
|
}
|