Platform SDK: Exchange Server

Creation of Message Properties

The properties that are created for each entry line in a message section are documented in the following table. In general, POPPST uses properties that enable Microsoft Exchange Client to display the message.

The lines TO:, CC:, and BCC: are used to set up the recipient table in the message. If the address book is available and <user name> can be resolved, PR_DISPLAY_NAME is used to derive PR_ADDRTYPE, PR_EMAIL_ADDRESS, and PR_ENTRYID.

If the address book is available, PR_ADDRTYPE and PR_EMAIL_ADDRESS may also be provided explicitly by using a <user name> of form <user display name>[<address type>:<email address>]. All names provided in <user display name> are also used to set the values of PR_DISPLAY_TO, PR_DISPLAY_CC, and PR_DISPLAY_BCC.

Entry Lines in POPPST.INI

Entry Notes
FROM: PR_SENDER_NAME = <user name>
PR_SENT_REPRESENTING_NAME = <user name>
Only one user name is allowed in the FROM: field.
TO: PR_RECIPIENT_TYPE = MAPI_TO;
PR_DISPLAY_NAME = <user name> for each <user name>;
CC: PR_RECIPIENT_TYPE = MAPI_CC;
PR_DISPLAY_NAME = <user name> for each <user name>;
BCC: PR_RECIPIENT_TYPE = MAPI_BCC;
PR_DISPLAY_NAME = <user name> for each <user name>;
FOLDER: Finds the folder that the message should be placed in. If it does not exist, it will be created.
SUBJECT: Sets PR_SUBJECT.
XTEXT: Contents of <file path> used to set PR_BODY.
DATE: Sets PR_MESSAGE_DELIVERY_TIME.
TIME: Sets PR_MESSAGE_DELIVERY_TIME.
PRIORITY: Sets PR_PRIORITY (not visible in Microsoft Exchange Client frontend).
XATTACH: Contents of <file path> used to set PR_ATTACH_DATA_BIN.
PR_ATTACH_METHOD = ATTACH_BY_VALUE.
PR_ATTACH_FILENAME = <file path>.
PR_ATTACH_LONG_FILENAME = <file path>.