renamed enum value NO_ERROR to MAILBOX_SUCCESS to avoid name clash with a Windows #define