EMail_Address_T

Contains the eDirectory information for the attributes that use the EMail Address syntax.

Service:NDS
Defined In:nwdsattr.h and nwdsattr.inc

Structure

C

  typedef struct 
  { 
     nuint32   type ; 
     pnstr8    address ; 
  } EMail_Address_T;
  

Pascal

  EMail_Address_T = Record 
        type : nuint32; 
        address : pnstr8 
  End;
  

Fields

type

Specifies the e-mail address type.

address

Points to the e-mail address, formatted according to the type field.

Remarks

The type field is specific to the e-mail application. MHS mail applications use the following types:

0

The data structure contains an e-mail address, in the form of non-MHS_Email_protcol:non-MHS_Email_Address (non_MHS_Email_Protocol is a 1-8 character string, and the non-MHS_Email_Address is a string for the actual address value)

1

The data structure contains an e-mail alias, in the form of non-MHS_Email_protcol:non-MHS_Email_Alias. (non_MHS_Email_Protocol is a 1-8 character string, and the non-MHS_Email_Alias is a string for the actual alias value)

The nwdsapi.h file defines a few e-mail address types in the EMAIL_ADDRESS_TYPE enumeration. However, e-mail applications can create new ones. eDirectory does not validate the types or the addresses; it stores the information. The e-mail application is responsible for ensuring that the information is stored in the syntax in a format that it can use.