Summary: Isode provides a number of APIs which allow integrators and product developers to build components that access the Isode Messaging server products or other products supporting the same protocols.
Error codes

Macros

#define X400_E_NOERROR   0
 
#define X400_E_SYSERROR   1
 
#define X400_E_NOMEMORY   2
 
#define X400_E_BADPARAM   3
 
#define X400_E_INT_ERROR   4
 
#define X400_E_CONFIG_ERROR   5
 
#define X400_E_NYI   6
 
#define X400_E_NO_CHANNEL   7
 
#define X400_E_INV_MSG   8
 
#define X400_E_NOCONNECT   10
 
#define X400_E_BADCREDENTIALS   11
 
#define X400_E_CONNECT_REJ   12
 
#define X400_E_QMGR_CONGESTED   13
 
#define X400_E_BAD_QMGR_RESP   14
 
#define X400_E_MISSING_ATTR   20
 
#define X400_E_CONFLICT_ATTR   21
 
#define X400_E_INVALID_ATTR   22
 
#define X400_E_INVALID_VALUE   23
 
#define X400_E_NO_VALUE   24
 
#define X400_E_NO_MESSAGE   30
 
#define X400_E_TIMED_OUT   31
 
#define X400_E_NO_RECIP   32
 
#define X400_E_NOSPACE   33
 
#define X400_E_ADDRESS_ERROR   64
 
#define X400_E_BUFFER_FILE_ERROR   65
 
#define X400_E_BUFFER_FILENAME_ERROR   66
 
#define X400_E_BUFFER_TYPE_ERROR   67
 
#define X400_E_CONTENT_ERROR   68
 
#define X400_E_CONTENT_DATA_ERROR   69
 
#define X400_E_CONTENT_INIT_ERROR   70
 
#define X400_E_CONTENT_BODY_ERROR   71
 
#define X400_E_INIT_ERROR   72
 
#define X400_E_MESSAGE_ERROR   73
 
#define X400_E_NO_CONTENT   74
 
#define X400_E_ORIGINATOR_ERROR   75
 
#define X400_E_PARMS_ERROR   76
 
#define X400_E_RECIPIENT_ERROR   77
 
#define X400_E_TRANSFERABLE_ERROR   78
 
#define X400_E_REPORT_ERROR   79
 
#define X400_E_COMPLEX_BODY   80
 
#define X400_E_MESSAGE_BODY   81
 
#define X400_E_UNSUPPORTED_BODY   82
 
#define X400_E_X509_ENV   83
 
#define X400_E_X509_INTERNAL_ERROR   84
 
#define X400_E_X509_INIT   85
 
#define X400_E_X509_VERIFY_FAIL_NO_CERT   87
 
#define X400_E_X509_VERIFY_FAIL_NO_PUBKEY   88
 
#define X400_E_X509_VERIFY_FAIL_INCOMPAT_ALG   89
 
#define X400_E_X509_VERIFY_FAIL_UNSUPPORTED_ALG   90
 
#define X400_E_X509_VERIFY_FAIL   91
 
#define X400_E_X509_CERT_INVALID   92
 
#define X400_E_X509_ITEM_INVALID   93
 
#define X400_E_SIGN_NO_IDENTITY   94
 
#define X400_E_SIGN   95
 
#define X400_E_NONDELIVERED   96
 
#define X400_E_NO_MORE_RESULTS   99
 
#define X400_E_WAIT_WRITE   100
 
#define X400_E_WAIT_READ   101
 
#define X400_E_WAIT_READ_WRITE   102
 
#define X400_E_CONNECTION_LOST   110
 
#define X400_E_SHUTDOWN   111
 
#define X400_E_NO_MATCH   112
 
#define X400_E_S4406_TRIPLE_WRAPPED   113
 
#define X400_E_P7_ATTRIBUTE_ERROR   114
 
#define X400_E_P7_AUTOACTION_REQUEST_ERROR   115
 
#define X400_E_P7_DELETE_ERROR   116
 
#define X400_E_P7_INVALID_PARAMETERS_ERROR   117
 
#define X400_E_P7_RANGE_ERROR   118
 
#define X400_E_P7_SERVICE_ERROR   119
 
#define X400_E_P7_SUBMISSION_CONTROL_VIOLATED   120
 
#define X400_E_P7_ELEMENT_OF_SERVICE_NOT_SUBSCRIBED   121
 
#define X400_E_P7_MESSAGE_SUBMISSION_IDENTIFIER_INVALID   122
 
#define X400_E_P7_INCONSISTENT_REQUEST_ERROR   123
 
#define X400_E_P7_UNSUPPORTED_CRITICAL_FUNCTION   124
 
#define X400_E_P7_REMOTE_BIND_ERROR   125
 
#define X400_E_P7_FETCH_RESTRICTION_ERROR   126
 
#define X400_E_P7_SECURITY_ERROR   127
 
#define X400_E_TEMPORARY_ERROR   128
 

Detailed Description

Macro Definition Documentation

#define X400_E_NOERROR   0
#define X400_E_SYSERROR   1

General system error

Examples:
examples/x400_mtsend.c.

Definition at line 49 of file x400_att.h.

#define X400_E_NOMEMORY   2

Insufficient memory

Examples:
examples/x400_mtrcv.c, and examples/x400_mtsend.c.

Definition at line 52 of file x400_att.h.

#define X400_E_BADPARAM   3

Bad parameter value

Definition at line 55 of file x400_att.h.

#define X400_E_INT_ERROR   4

Internal Error

Definition at line 58 of file x400_att.h.

#define X400_E_CONFIG_ERROR   5

Internal Config Error

Definition at line 61 of file x400_att.h.

#define X400_E_NYI   6

Function not yet implemented

Definition at line 64 of file x400_att.h.

#define X400_E_NO_CHANNEL   7

no X400 channel in MTA

Definition at line 67 of file x400_att.h.

#define X400_E_INV_MSG   8

Message received from MTA invalid

Definition at line 70 of file x400_att.h.

#define X400_E_NOCONNECT   10

Cannot connect to server

Definition at line 73 of file x400_att.h.

#define X400_E_BADCREDENTIALS   11

Invalid credentials for connection

Definition at line 76 of file x400_att.h.

#define X400_E_CONNECT_REJ   12

Connect to server rejected

Definition at line 79 of file x400_att.h.

#define X400_E_QMGR_CONGESTED   13

Connect to server rejected

Definition at line 82 of file x400_att.h.

#define X400_E_BAD_QMGR_RESP   14

Connect to server rejected

Definition at line 85 of file x400_att.h.

#define X400_E_MISSING_ATTR   20

Missing attribute in message

Examples:
examples/x400_mtrcv.c.

Definition at line 88 of file x400_att.h.

#define X400_E_CONFLICT_ATTR   21

Conflicting attributes in message

Definition at line 91 of file x400_att.h.

#define X400_E_INVALID_ATTR   22

Unknown attribute type, or attribute not appropriate for message type

Examples:
examples/x400_mtrcv.c.

Definition at line 94 of file x400_att.h.

#define X400_E_INVALID_VALUE   23

Value is invalid for the attribute type

Definition at line 97 of file x400_att.h.

#define X400_E_NO_VALUE   24

Value for parameter is not available

Examples:
examples/x400_mtrcv.c.

Definition at line 100 of file x400_att.h.

#define X400_E_NO_MESSAGE   30

No message available

Examples:
examples/x400_mtrcv.c.

Definition at line 103 of file x400_att.h.

#define X400_E_TIMED_OUT   31

Wait timed out

Definition at line 106 of file x400_att.h.

#define X400_E_NO_RECIP   32

No recipient

Examples:
examples/x400_mtrcv.c, and examples/x400_mttutorial.c.

Definition at line 109 of file x400_att.h.

#define X400_E_NOSPACE   33

Insufficient space in output buffer

Examples:
examples/x400_mttutorial.c.

Definition at line 112 of file x400_att.h.

#define X400_E_ADDRESS_ERROR   64

Submission error - address failed

Examples:
examples/x400_mtrcv.c.

Definition at line 115 of file x400_att.h.

#define X400_E_BUFFER_FILE_ERROR   65

Submission error - buffer file failed

Definition at line 118 of file x400_att.h.

#define X400_E_BUFFER_FILENAME_ERROR   66

Submission error - filename invalid

Definition at line 121 of file x400_att.h.

#define X400_E_BUFFER_TYPE_ERROR   67

Submission error - invalid buffer type

Definition at line 124 of file x400_att.h.

#define X400_E_CONTENT_ERROR   68

Submission error - invalid content

Definition at line 127 of file x400_att.h.

#define X400_E_CONTENT_DATA_ERROR   69

Submission error - failed to initialize content data

Definition at line 130 of file x400_att.h.

#define X400_E_CONTENT_INIT_ERROR   70

Submission error - failed to initialize content

Definition at line 133 of file x400_att.h.

#define X400_E_CONTENT_BODY_ERROR   71

Submission error - failed to initialize content body

Definition at line 136 of file x400_att.h.

#define X400_E_INIT_ERROR   72

Submission error - initialization failed

Definition at line 139 of file x400_att.h.

#define X400_E_MESSAGE_ERROR   73

Submission error - conclude message failed

Definition at line 142 of file x400_att.h.

#define X400_E_NO_CONTENT   74

Submission error - null content

Definition at line 145 of file x400_att.h.

#define X400_E_ORIGINATOR_ERROR   75

Submission error - originator's address failed

Definition at line 148 of file x400_att.h.

#define X400_E_PARMS_ERROR   76

Submission error - invalid initialization parameter

Definition at line 151 of file x400_att.h.

#define X400_E_RECIPIENT_ERROR   77

Submission error - recipient's address failed

Definition at line 154 of file x400_att.h.

#define X400_E_TRANSFERABLE_ERROR   78

Submission error - bad transferable

Definition at line 157 of file x400_att.h.

#define X400_E_REPORT_ERROR   79

Submission error - failed transferring report

Definition at line 160 of file x400_att.h.

#define X400_E_COMPLEX_BODY   80

Body part needs Bodypart object

Definition at line 163 of file x400_att.h.

#define X400_E_MESSAGE_BODY   81

Body part needs Message object

Examples:
examples/x400_mtrcv.c.

Definition at line 166 of file x400_att.h.

#define X400_E_UNSUPPORTED_BODY   82

Body part is not supported by this API

Definition at line 169 of file x400_att.h.

#define X400_E_X509_ENV   83

Invalid Security environment

Definition at line 172 of file x400_att.h.

#define X400_E_X509_INTERNAL_ERROR   84

Internal error in security sub system

Definition at line 175 of file x400_att.h.

#define X400_E_X509_INIT   85

Cannot initialise the security env

Definition at line 178 of file x400_att.h.

#define X400_E_X509_VERIFY_FAIL_NO_CERT   87

Cannot verify sig - no originator certificate

Definition at line 181 of file x400_att.h.

#define X400_E_X509_VERIFY_FAIL_NO_PUBKEY   88

Cannot verify sig - no public key in originator certificate

Definition at line 184 of file x400_att.h.

#define X400_E_X509_VERIFY_FAIL_INCOMPAT_ALG   89

Cannot verify sig - algorithm in cert is incompatible

Definition at line 187 of file x400_att.h.

#define X400_E_X509_VERIFY_FAIL_UNSUPPORTED_ALG   90

Cannot verify sig - algorithm in cert is incompatible

Definition at line 190 of file x400_att.h.

#define X400_E_X509_VERIFY_FAIL   91

Signature Verification failed

Definition at line 193 of file x400_att.h.

#define X400_E_X509_CERT_INVALID   92

Verification failed - but message has been returned

Definition at line 196 of file x400_att.h.

#define X400_E_X509_ITEM_INVALID   93

Invalid security-related extension value

Definition at line 199 of file x400_att.h.

#define X400_E_SIGN_NO_IDENTITY   94

Cannot find the Identity to sign the message

Definition at line 202 of file x400_att.h.

#define X400_E_SIGN   95

Cannot sign the message

Definition at line 205 of file x400_att.h.

#define X400_E_NONDELIVERED   96

Message non-delivered due to unhandled critical extensions

Definition at line 208 of file x400_att.h.

#define X400_E_NO_MORE_RESULTS   99

No more results available

Definition at line 211 of file x400_att.h.

#define X400_E_WAIT_WRITE   100

Application should wait for association to become writeable

Definition at line 214 of file x400_att.h.

#define X400_E_WAIT_READ   101

Application should wait for association to become readable

Definition at line 217 of file x400_att.h.

#define X400_E_WAIT_READ_WRITE   102

Application should wait for association to become readable and writeable

Definition at line 220 of file x400_att.h.

#define X400_E_CONNECTION_LOST   110

Connection lost to Queue Manager

Definition at line 223 of file x400_att.h.

#define X400_E_SHUTDOWN   111

Queue Manager shutting down

Definition at line 226 of file x400_att.h.

#define X400_E_NO_MATCH   112

No match between elements

Definition at line 229 of file x400_att.h.

#define X400_E_S4406_TRIPLE_WRAPPED   113

Content is STANAG 4406 Triple Wrapped content which cannot be decrypted

Definition at line 232 of file x400_att.h.

#define X400_E_P7_ATTRIBUTE_ERROR   114

P7 Attribute error returned by Message Store

Definition at line 235 of file x400_att.h.

#define X400_E_P7_AUTOACTION_REQUEST_ERROR   115

P7 Autoaction Request error returned by Message Store

Definition at line 238 of file x400_att.h.

#define X400_E_P7_DELETE_ERROR   116

P7 Delete error returned by Message Store

Definition at line 241 of file x400_att.h.

#define X400_E_P7_INVALID_PARAMETERS_ERROR   117

P7 Invalid Parameters error returned by Message Store

Definition at line 244 of file x400_att.h.

#define X400_E_P7_RANGE_ERROR   118

P7 Range error returned by Message Store

Definition at line 247 of file x400_att.h.

#define X400_E_P7_SERVICE_ERROR   119

P7 Service error returned by Message Store

Definition at line 250 of file x400_att.h.

#define X400_E_P7_SUBMISSION_CONTROL_VIOLATED   120

P7 submission control violated error returned by Message Store

Definition at line 253 of file x400_att.h.

#define X400_E_P7_ELEMENT_OF_SERVICE_NOT_SUBSCRIBED   121

P7 element-of-service-not-subscribed error returned by Message Store

Definition at line 256 of file x400_att.h.

#define X400_E_P7_MESSAGE_SUBMISSION_IDENTIFIER_INVALID   122

P7 message submission identfier invalid error returned by Message Store

Definition at line 259 of file x400_att.h.

#define X400_E_P7_INCONSISTENT_REQUEST_ERROR   123

P7 inconsistent request error returned by Message Store

Definition at line 262 of file x400_att.h.

#define X400_E_P7_UNSUPPORTED_CRITICAL_FUNCTION   124

P7 unsupported critical function error returned by Message Store

Definition at line 265 of file x400_att.h.

#define X400_E_P7_REMOTE_BIND_ERROR   125

P7 remote bind error returned by Message Store

Definition at line 268 of file x400_att.h.

#define X400_E_P7_FETCH_RESTRICTION_ERROR   126

P7 fetch restriction error returned by Message Store

Definition at line 271 of file x400_att.h.

#define X400_E_P7_SECURITY_ERROR   127

P7 Security error returned by Message Store

Definition at line 274 of file x400_att.h.

#define X400_E_TEMPORARY_ERROR   128

Temporary error returned while transferring message out to MTA, caused by DNS or DSA lookup timeout. The call to X400mtMsgSend() can be retried.

Examples:
examples/x400_mtsend.c.

Definition at line 277 of file x400_att.h.