AIRMail SDK library error codes

Error codes

List of AIRMail SDK library error codes and comments for each here:

OMS_OK - success

OMS_UNDEFINEDSTORAGEFILE Unknown mailbox type

OMS_FILENOTEXISTS Specified file does not exist

OMS_MAPINOTINITIALIZE - MS Outlook Interface is not initialized

OMS_MAPINOTOPENSTORAGE - MS Outlook can not open specified mailbox

OMS_NOT Access violation or generic error (insufficient disk space and so on)

OMS_NOFOLDERS No more folders in specified mailbox

OMS_NOCURRENTSESSIONCLOSED Mailbox is not closed

OMS_BADSTORAGEHANDLE Specified handle is not valid

OMS_FOLDERNOTFOUND Folder is not found.

OMS_BADMESSAGE Can not extract specified mail message

OMS_NOPROFILEOPEN Error while initializing MS Outlook Interface

OMS_CANSAVEMESSAGETOFILE Error while saving mail message to file

OMS_NOATTACH Specified attachment is not found inside mail message

OMS_INVALIDSTORAGEVERSION - Incompatible Mailbox version

OMS_MEMORYALLOCATIONERROR Memory allocation error

OMS_MAILBOXSDKNOTREGISTER - AIRMail SDK need to be registered

OMS_WRITEACCESSDENIDE - Mailbox cannot be write accessible

OMS_MAPI_W_PARTIAL_COMPLETION - The call succeeded, but not all of the messages were successfully deleted.

OMS_NOERROR Error codes higher than this value are valid handles, not errors

 

 

 

 

AIRMail SDK Team 2005-2008, please contact as