EPNMAILMESSAGEINFO

typedef struct tag_EPNMAILMESSAGEINFO
{
   L_UINT uStructSize; 
   L_CHAR L_FAR * pszTo; 
   L_CHAR L_FAR * pszCc; 
   L_CHAR L_FAR * pszBcc; 
   L_CHAR L_FAR * pszSubject; 
   L_CHAR L_FAR * pszBody; 
   L_BOOL bUseMail; 
   L_UINT uEmailSaveOptionsIndex; 
} EPNMAILMESSAGEINFO, L_FAR * pEPNMAILMESSAGEINFO;

The EPNMAILMESSAGEINFO structure provides information about the message to be sent when sending emails is enabled.

Member

Description

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() macro to calculate this value.

pszTo

Character string that contains the address of each primary recipient. Use semicolons to separate multiple addresses.

pszCc

Character string that contains the address of each CC recipient. Use semicolons to separate multiple addresses.

pszBcc

Character string that contains the address of each BCC recipient. Use semicolons to separate multiple addresses.

pszSubject

Character string that contains the subject of the message.

pszBody

Character string that contains the body of the message.

bUseMail

Flag that indicates whether to send the saved files by e-mail when printing to the ePrint printer. Possible values are:

 

Value

Meaning

 

TRUE

Send the saved files.

 

FALSE

Do not send the saved files.

uEmailSaveOptionsIndex

A zero-based index of the save options in the EPNPRINTERMULTISAVEOPTIONS structure that will be used to save the files intended to be sent.

Comments

These settings will be used each time you print using the ePrint printer.

This structure is used with L_EpnSetPrinterMailMessageInfo and L_EpnCreateEmailDC.