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.
Address Checking operations

Macros

#define SOM_CKADR_ORIGINATOR   (1)
 
#define SOM_CKADR_RFC822   (1<<1)
 
#define SOM_CKADR_X400   (1<<2)
 
#define SOM_CKADR_DN   (1<<3)
 
#define SOM_CKADR_NORMALIZE_ALL   (1<<4)
 
#define SOM_CKADR_NO_RESPONSIBILITY   (1<<5)
 
#define SOM_CKADR_NO_REDIRECTION   (1<<6)
 
#define SOM_CKADR_PARSE_X400   (1<<7)
 
#define SOM_CKADR_PARSE_RFC822   (1<<8)
 
#define SOM_CKADR_PARSE   (1<<9)
 
#define SOM_CKADR_DOMAIN   (1<<10)
 

Functions

int SOMCheckAddress (struct SOMSession *session, const char *address, const char *sender_name, const char *inmta_name, const char *inchannel_name, const int flags, void *ophandle, int async)
 Perform an address check. More...
 

Detailed Description

Macro Definition Documentation

#define SOM_CKADR_ORIGINATOR   (1)

Flag masks for address check operation

Definition at line 158 of file checkaddress.h.

Function Documentation

int SOMCheckAddress ( struct SOMSession session,
const char *  address,
const char *  sender_name,
const char *  inmta_name,
const char *  inchannel_name,
const int  flags,
void *  ophandle,
int  async 
)

Perform an address check.

Parameters
session[in] Pointer to address of session object
address[in] Target address or domain
sender_name[in] Sender address (optional)
inmta_name[in] Inbound MTA Name (optional)
inchannel_name[in] Inbound channel name (optional)
flags[in] Command flags
ophandle[in] Value passed to callback
async[in] Operation is asynchronous if TRUE
Returns
zero on success; non-zero on error