MQMailEMail

The MQMailEMail structure describes mail information in a mail format. It is used for translating information between the basic mail format and the MSMQ Mail format used by MSMQ Mail services.

typedef struct  MQMailEMail_tag
{
   LPSTR                 szSubject;  //Subject of mail.
   BOOL                  fRequestDeliveryReport;  
   BOOL                  fRequestNonDeliveryReport;
   LPFILETIME            pftDate;    //Time sent.
   LPMQMailRecip         pFrom;      //Sender.
   LPMQMailRecipList     pRecips;    //List of recipients.
   LPMQMailEMailType     iType;      //Type of Email (message, form)
   union                             //Union of available Email types.
   {
      MQMailFormData     form;      //when type is MQMailEMail_FORM
      MQMailMessageData  message;   //when type is MQMailEMail_MESSAGE
      MQMailTnefData     tnef       //when type is MQMailEMail_TNEF
      MQMailDeliveryReportData       DeliveryReport; //when type is MQMailEMail_DELIVERY_REPORT
      MQMailNonDeliveryReportData    NonDeliveryReport; //when type is MQMailEMail_NON_DELIVERY_REPORT
   };
   LPVOID                pReserved;  //Should be set to NULL.
} MQMailEMail, FAR* LPMQMailEMail;
 

For information on MSMQ Mail services, see MSMQ MAPI Transport Provider and MSMQ Exchange Connector.

QuickInfo

  Windows NT: Requires version 4.0 SP3 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in mqmail.h.
  Import Library: Use mqmail.lib.
  Unicode: Defined only as Unicode.

See Also

MQMailEMailType, MQMailFormData, MQMailDeliveryReportData, MQMailMessageData, MQMailNonDeliveryReportData, MQMailRecip, MQMailRecipList, MQMailTnefData