When a subscription form is processed, the success or failure of the form’s submission is posted as a code and a message in the URL of the success/failure page. Example:
http://www.yourpage.com/?code=04&message=The%20list%20no%20longer%20exists
If you are using your own custom success/failure pages and you do not want the code or message to be appended to its URL, you can disable this functionality in Setup / System Settings / Custom Pages and checking the Disable error code and message box.
The code is supplied in the “code” parameter of the custom page URL and can be read by your script.
For example, in PHP, use:
$_GET[‘code’]
… to read the code value. These codes apply only to submissions of subscribe/ unsubscribe forms, not other means of subscribing.
Success Codes
01 = Successful subscription. 02 = Successful subscription - confirmation email sent. 03 = Successful subscription - first email sent. 04 = Successful unsubscription.
Error Codes
00 = There was an unknown error. 01 = Your browser has not sent its user agent type. 02 = The form parameters are not correct. 03 = The form parameters are not correct. 04 = This list no longer exists. 05 = This list does not allow subscriptions by form. 06 = This list is currently disabled. 07 = This list is not currently accepting new subscriptions. 08 = There was a form validation error. 09 = The security code cannot be blank. 10 = The security code is not correct. 11 = The email address cannot be blank. 12 = The email address is not valid. 13 = The email address is not permitted to subscribe. 14 = The email address is not permitted to subscribe. 15 = The title cannot be blank. 16 = The first name cannot be blank. 17 = The middle name cannot be blank. 18 = The last name cannot be blank. 19 = The full name cannot be blank. 20 = The company cannot be blank. 21 = The department cannot be blank. 22 = Address #1 cannot be blank. 23 = Address #2 cannot be blank. 24 = Address #3 cannot be blank. 25 = The town or city cannot be blank. 26 = The state or province cannot be blank. 27 = The postal or ZIP code cannot be blank. 28 = The country cannot be blank. 29 = The alternative email address 30 = The alternative email address 31 = The alternative email address 32 = The phone number #1 cannot 33 = The phone number #2 cannot 34 = The phone number #3 cannot 35 = The mobile phone number #1 cannot be blank. 36 = The mobile phone number #2 cannot be blank. 37 = The mobile phone number #3 cannot be blank. 38 = The fax number #1 cannot be blank. 39 = The fax number #2 cannot be blank. 40 = The fax number #3 cannot be blank. 41 = The referer id cannot be blank. 42 = Your subscription request could not be completed. 43 = Duplicate subscriptions are not allowed. 44 = Your subscription request could not be completed.