Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

113 lines
5.3 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// <summary>Specifies the outcome of sending email by using the <see cref="T:System.Net.Mail.SmtpClient" /> class.</summary>
// Token: 0x020002C6 RID: 710
[Token(Token = "0x20002C6")]
public enum SmtpStatusCode
{
/// <summary>The commands were sent in the incorrect sequence.</summary>
// Token: 0x04000B13 RID: 2835
[Token(Token = "0x4000B13")]
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 https://www.ietf.org.</summary>
// Token: 0x04000B14 RID: 2836
[Token(Token = "0x4000B14")]
CannotVerifyUserWillAttemptDelivery = 252,
/// <summary>The client was not authenticated or is not allowed to send mail using the specified SMTP host.</summary>
// Token: 0x04000B15 RID: 2837
[Token(Token = "0x4000B15")]
ClientNotPermitted = 454,
/// <summary>The SMTP service does not implement the specified command.</summary>
// Token: 0x04000B16 RID: 2838
[Token(Token = "0x4000B16")]
CommandNotImplemented = 502,
/// <summary>The SMTP service does not implement the specified command parameter.</summary>
// Token: 0x04000B17 RID: 2839
[Token(Token = "0x4000B17")]
CommandParameterNotImplemented = 504,
/// <summary>The SMTP service does not recognize the specified command.</summary>
// Token: 0x04000B18 RID: 2840
[Token(Token = "0x4000B18")]
CommandUnrecognized = 500,
/// <summary>The message is too large to be stored in the destination mailbox.</summary>
// Token: 0x04000B19 RID: 2841
[Token(Token = "0x4000B19")]
ExceededStorageAllocation = 552,
/// <summary>The transaction could not occur. You receive this error when the specified SMTP host cannot be found.</summary>
// Token: 0x04000B1A RID: 2842
[Token(Token = "0x4000B1A")]
GeneralFailure = -1,
/// <summary>A Help message was returned by the service.</summary>
// Token: 0x04000B1B RID: 2843
[Token(Token = "0x4000B1B")]
HelpMessage = 214,
/// <summary>The SMTP service does not have sufficient storage to complete the request.</summary>
// Token: 0x04000B1C RID: 2844
[Token(Token = "0x4000B1C")]
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 email (spam). For details, see RFC 2505, which is available at https://www.ietf.org.</summary>
// Token: 0x04000B1D RID: 2845
[Token(Token = "0x4000B1D")]
LocalErrorInProcessing = 451,
/// <summary>The destination mailbox is in use.</summary>
// Token: 0x04000B1E RID: 2846
[Token(Token = "0x4000B1E")]
MailboxBusy = 450,
/// <summary>The syntax used to specify the destination mailbox is incorrect.</summary>
// Token: 0x04000B1F RID: 2847
[Token(Token = "0x4000B1F")]
MailboxNameNotAllowed = 553,
/// <summary>The destination mailbox was not found or could not be accessed.</summary>
// Token: 0x04000B20 RID: 2848
[Token(Token = "0x4000B20")]
MailboxUnavailable = 550,
/// <summary>The email was successfully sent to the SMTP service.</summary>
// Token: 0x04000B21 RID: 2849
[Token(Token = "0x4000B21")]
Ok = 250,
/// <summary>The SMTP service is closing the transmission channel.</summary>
// Token: 0x04000B22 RID: 2850
[Token(Token = "0x4000B22")]
ServiceClosingTransmissionChannel = 221,
/// <summary>The SMTP service is not available; the server is closing the transmission channel.</summary>
// Token: 0x04000B23 RID: 2851
[Token(Token = "0x4000B23")]
ServiceNotAvailable = 421,
/// <summary>The SMTP service is ready.</summary>
// Token: 0x04000B24 RID: 2852
[Token(Token = "0x4000B24")]
ServiceReady = 220,
/// <summary>The SMTP service is ready to receive the email content.</summary>
// Token: 0x04000B25 RID: 2853
[Token(Token = "0x4000B25")]
StartMailInput = 354,
/// <summary>The syntax used to specify a command or parameter is incorrect.</summary>
// Token: 0x04000B26 RID: 2854
[Token(Token = "0x4000B26")]
SyntaxError = 501,
/// <summary>A system status or system Help reply.</summary>
// Token: 0x04000B27 RID: 2855
[Token(Token = "0x4000B27")]
SystemStatus = 211,
/// <summary>The transaction failed.</summary>
// Token: 0x04000B28 RID: 2856
[Token(Token = "0x4000B28")]
TransactionFailed = 554,
/// <summary>The user mailbox is not located on the receiving server. You should resend using the supplied address information.</summary>
// Token: 0x04000B29 RID: 2857
[Token(Token = "0x4000B29")]
UserNotLocalTryAlternatePath = 551,
/// <summary>The user mailbox is not located on the receiving server; the server forwards the email.</summary>
// Token: 0x04000B2A RID: 2858
[Token(Token = "0x4000B2A")]
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: 0x04000B2B RID: 2859
[Token(Token = "0x4000B2B")]
MustIssueStartTlsFirst = 530
}
}