{"id":3945,"date":"2024-11-18T10:11:26","date_gmt":"2024-11-18T10:11:26","guid":{"rendered":"http:\/\/34.88.191.99\/?page_id=3945"},"modified":"2025-04-07T14:00:13","modified_gmt":"2025-04-07T14:00:13","slug":"status-codes-for-email","status":"publish","type":"page","link":"https:\/\/ip1sms.com\/en\/developer\/status-codes-for-email\/","title":{"rendered":"Email status codes"},"content":{"rendered":"<h1 class=\"wp-block-heading\" id=\"status-codes\">Status codes<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"summary\">Summary<\/h2>\n\n\n\n<p>This is a summary of what each status code group means. The way our status blocks works is that, for example, if the code starts with 1 then the status belongs to the status group Info. This allows us to add new status codes while still allowing your software to handle these new status codes without being explicitly developed for them.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Group<\/th><th>Code block<\/th><th>Comment<\/th><\/tr><\/thead><tbody><tr><td>Info<\/td><td>1<\/td><td>Informative status codes that inform where the message is in the pipeline.<\/td><\/tr><tr><td>Success<\/td><td>2<\/td><td>If the message ended in a user-defined manner such as Expired or DeliveredToClient.<\/td><\/tr><tr><td>Rejection<\/td><td>4<\/td><td>If there is something wrong with the message it self such as length, banned keywords, etc.<\/td><\/tr><tr><td>Error<\/td><td>5<\/td><td>If the message was undeliverable or other errors which is out of the control for the delivery service.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"info\">Info<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Code<\/th><th>Treated as<\/th><th>Comment<\/th><\/tr><\/thead><tbody><tr><td>Accepted<\/td><td>101<\/td><td><strong>Info<\/strong><\/td><td>The message(s) has been accepted for processing<\/td><\/tr><tr><td>Queued<\/td><td>102<\/td><td><strong>Info<\/strong><\/td><td>The message has been put a queue for sending<\/td><\/tr><tr><td>Funded<\/td><td>103<\/td><td><strong>Info<\/strong><\/td><td>The message has been paid for and can be sent<\/td><\/tr><tr><td>Refunded<\/td><td>104<\/td><td><strong>Info<\/strong><\/td><td>The message has been refunded i.e. its price has been returned to the account balance<\/td><\/tr><tr><td>DeliveredToGateway<\/td><td>111<\/td><td><strong>Info<\/strong><\/td><td>The message has been delivered to the next upstream gateway<\/td><\/tr><tr><td>QueuedAtGateway<\/td><td>114<\/td><td><strong>Info<\/strong><\/td><td>The message has been queued at the upstream gateway<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"success\">Success<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Code<\/th><th>Treated as<\/th><th>Comment<\/th><\/tr><\/thead><tbody><tr><td>DeliveredToClient<\/td><td>201<\/td><td><strong>Success<\/strong><\/td><td>The message has been delivered to the recipient in question<\/td><\/tr><tr><td>Expired<\/td><td>202<\/td><td><strong>Success<\/strong><\/td><td>The expiry date has been exceeded before the message could be delivered<\/td><\/tr><tr><td>Canceled<\/td><td>203<\/td><td><strong>Success<\/strong><\/td><td>Message was canceled by user<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"rejection\">Rejection<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Code<\/th><th>Treated as<\/th><th>Comment<\/th><\/tr><\/thead><tbody><tr><td>InsufficientFunds<\/td><td>402<\/td><td><strong>Rejection<\/strong><\/td><td>The account trying to send does not have enough balance to send the message<\/td><\/tr><tr><td>SenderRejected<\/td><td>403<\/td><td><strong>Rejection<\/strong><\/td><td>The sender was rejected, given when the sender is considered fraudulent or sender ownership hasn't been verified<\/td><\/tr><tr><td>RecipientRejected<\/td><td>405<\/td><td><strong>Rejection<\/strong><\/td><td>The recipient is illegal<\/td><\/tr><tr><td>GenericRejected<\/td><td>406<\/td><td><strong>Rejection<\/strong><\/td><td>The message was rejected for a reason other than the options above<\/td><\/tr><tr><td>InvalidSender<\/td><td>407<\/td><td><strong>Rejection<\/strong><\/td><td>The message sender is invalid. Eg. Sender is too long, contains illegal characters etc<\/td><\/tr><tr><td>InvalidContent<\/td><td>408<\/td><td><strong>Rejection<\/strong><\/td><td>Message content is invalid. Eg. illegal characters, is to long etc.<\/td><\/tr><tr><td>InvalidRecipient<\/td><td>409<\/td><td><strong>Rejection<\/strong><\/td><td>The recipient of the message is invalid, for example the recipient is not a valid email address<\/td><\/tr><tr><td>Spam<\/td><td>411<\/td><td><strong>Rejection<\/strong><\/td><td>The message was rejected due to a spam filter<\/td><\/tr><tr><td>HardBounce<\/td><td>412<\/td><td><strong>Rejection<\/strong><\/td><td>The message received a hard bounce, which means the recipient is invalid or no longer in use<\/td><\/tr><tr><td>SoftBounce<\/td><td>413<\/td><td><strong>Rejection<\/strong><\/td><td>The message received a soft bounce, meaning the recipient was unable to receive it<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"error\">Error<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Code<\/th><th>Treated as<\/th><th>Comment<\/th><\/tr><\/thead><tbody><tr><td>InternalError<\/td><td>500<\/td><td><strong>Error<\/strong><\/td><td>An unrecognized error occurred<\/td><\/tr><tr><td>Unknown<\/td><td>599<\/td><td><strong>Error<\/strong><\/td><td>Message was delivered upstream but no Delivery Receipt has been received or a Delivery Receipt that could not be interpreted was received<\/td><\/tr><\/tbody><\/table><\/figure>","protected":false},"excerpt":{"rendered":"<p>Statuskoder Sammanfattning Detta \u00e4r en sammanfattning av vad varje statuskodgrupp betyder. S\u00e4ttet som v\u00e5ra statusblock fungerar \u00e4r att om till exempel koden b\u00f6rjar med 1 s\u00e5 tillh\u00f6r statusen statusgruppen Info. Detta g\u00f6r att vi kan l\u00e4gga till nya statuskoder samtidigt som din programvara fortfarande kan hantera dessa nya statuskoder utan att vara explicit utvecklad f\u00f6r [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":382,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"developer-email.php","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-3945","page","type-page","status-publish","hentry","category-api-dokumention"],"_links":{"self":[{"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/pages\/3945","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/comments?post=3945"}],"version-history":[{"count":0,"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/pages\/3945\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/pages\/382"}],"wp:attachment":[{"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/media?parent=3945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/categories?post=3945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/tags?post=3945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}