14 C251UserNotLocalWillForward = 251
20 C421ServiceUnavail = 421
23 C450MailboxUnavail = 450
29 C501BadParamSyntax = 501
32 C504ParamNotImpl = 504
40 C550MailboxUnavail = 550
41 C551UserNotLocal = 551
44 C554TransactionFailed = 554
45 C555UnrecognizedAddrParams = 555
49// Short enhanced reply codes, without leading number and first dot.
51// See https://www.iana.org/assignments/smtp-enhanced-status-codes/smtp-enhanced-status-codes.xhtml
53 // 0.x - Other or Undefined Status.
60 SeAddr1UnknownDestMailbox1 = "1.1"
61 SeAddr1UnknownSystem2 = "1.2"
62 SeAddr1MailboxSyntax3 = "1.3"
63 SeAddr1MailboxAmbiguous4 = "1.4"
64 SeAddr1DestValid5 = "1.5" // For success responses.
65 SeAddr1DestMailboxMoved6 = "1.6"
66 SeAddr1SenderSyntax7 = "1.7"
67 SeAddr1BadSenderSystemAddress8 = "1.8"
72 SeMailbox2Other0 = "2.0"
73 SeMailbox2Disabled1 = "2.1"
74 SeMailbox2Full2 = "2.2"
75 SeMailbox2MsgLimitExceeded3 = "2.3"
76 SeMailbox2MailListExpansion4 = "2.4"
81 SeSys3StorageFull1 = "3.1"
82 SeSys3NotAccepting2 = "3.2"
83 SeSys3NotSupported3 = "3.3"
84 SeSys3MsgLimitExceeded4 = "3.4"
85 SeSys3Misconfigured5 = "3.5"
87 // 4.x - Network and routing.
90 SeNet4NoAnswer1 = "4.1"
91 SeNet4BadConn2 = "4.2"
93 SeNet4Routing4 = "4.4"
94 SeNet4Congestion5 = "4.5"
96 SeNet4DeliveryExpired7 = "4.7"
98 // 5.x - Mail delivery protocol.
100 SeProto5Other0 = "5.0"
101 SeProto5BadCmdOrSeq1 = "5.1"
102 SeProto5Syntax2 = "5.2"
103 SeProto5TooManyRcpts3 = "5.3"
104 SeProto5BadParams4 = "5.4"
105 SeProto5ProtocolMismatch5 = "5.5"
108 // 6.x - Message content/media.
111 SeMsg6MediaUnsupported1 = "6.1"
112 SeMsg6ConversionProhibited2 = "6.2"
113 SeMsg6ConversionUnsupported3 = "6.3"
114 SeMsg6ConversionWithLoss4 = "6.4"
115 SeMsg6ConversionFailed5 = "6.5"
120 // 7.x - Security/policy.
123 SePol7DeliveryUnauth1 = "7.1"
124 SePol7ExpnProhibited2 = "7.2"
125 SePol7ConversionImpossible3 = "7.3"
126 SePol7Unsupported4 = "7.4"
127 SePol7CryptoFailure5 = "7.5"
128 SePol7CryptoUnsupported6 = "7.6"
129 SePol7MsgIntegrity7 = "7.7"