OmniMessaging ZLE Adapter Programmer's Guide 6.2
OmniMessaging ZLE Mail Adapter Installation Guide 
Opsol Confidential and Proprietary       4
Request Specific Information Structure: This is the buffer defined in the IPC 
based on the request type. Details are provided in following sections. 
3.2  Send Email Message 
The client application should populate the fields of the OMNI_sendMessage IPC. 
The SERVERCLASS_SEND_ will result in a mail message being delivered to the 
specified addresses. 
There is support for up to 10 attachments of unlimited size. Both ASCII and binary 
attachment types are supported. The attachments to be sent should be created as 
zero code files in Guardian. 
IPC structure: OMNI_sendMessage 
Field Name  Data Type  Required (R) /  
Optional (o) 
Value  Input/
Output 
request_type  OMNI_ReqType  R  OMNI_SEND  I 
returnCode  ADAPT_ReturnCode      O 
orig_name  char  R  From User name  I 
orig_address  char  R  From User Mail 
Address 
I 
origDSNFlag  unsigned long  O (OMNI_UNSPECIFIED 
if not used) 
OMNI_HEADERO
NLY / 
OMNI_FULL 
I 
subject  char  O  Subject of mail  I 
subject_len  unsigned short  R  
(Zero if no subject) 
String length of 
subject 
I 
dest_addresses  OMNI_recipient *  R (1 to 10 recipients can 
be specified) 
Recipient 
Addresses 
I 
dest_address_ 
count 
unsigned short  R (total number of 
recipients) 
1-10  I 
attachments  OMNI_attachment  O  0-10  I 
attach_count  unsigned short  R  0-10  I 
message_body  char  O  Char buff up to 
25000 bytes 
I 
encryption_flag  ADAPT_Encryption  O 
(OMNI_NO_ENCRYPTION 
if not used) 
Encryption flag 
values 
I 
* role field in the OMNI_recipient structure decides whether the message will be 
To/CC/BCCed to the recipient. If the role is set to OMNI_ROLE_RETPATH, the 
corresponding destination address is used for sending the NDRs (Non Delivery 
Reports). 
3.3  Retrieve Email Message – Guardian 
The client application should set values of the fields of the OMNI_getMessage IPC. 
The SERVERCLASS_SEND_ will result in a specific mail being retrieved. 
There is support for up to 10 attachments of unlimited size. Both ASCII and binary 
attachment types are supported. There is support for message body text of unlimited 
size. The attachments are extracted and placed as guardian zero code files in the 










