2.2.47 FAX_RECEIPTS_CONFIGW

The FAX_RECEIPTS_CONFIGW structure defines the format for the receipt settings of the fax server. This structure is used by FAX_SetReceiptsConfiguration (section 3.1.4.1.91). The information contained by this structure describes the delivery receipt support fax server configuration (section 3.1.1).

 typedef struct {
   DWORD dwSizeOfStruct;
   DWORD dwAllowedReceipts;
   FAX_ENUM_SMTP_AUTH_OPTIONS SMTPAuthOption;
   [string] LPWSTR lpwstrReserved;
   [string] LPWSTR lpwstrSMTPServer;
   DWORD dwSMTPPort;
   [string] LPWSTR lpwstrSMTPFrom;
   [string] LPWSTR lpwstrSMTPUserName;
   [string] LPWSTR lpwstrSMTPPassword;
   BOOL bIsToUseForMSRouteThroughEmailMethod;
 } FAX_RECEIPTS_CONFIGW,
  *PFAX_RECEIPTS_CONFIGW;

dwSizeOfStruct: A DWORD ([MS-DTYP] section 2.2.9) value that holds the total size of the structure, in bytes. This value MUST be 40 or 72 bytes. When filled in on a 32-bit implementation, this value SHOULD be 40 bytes. When filled in on a 64-bit implementation, this value SHOULD be 72 bytes.

dwAllowedReceipts: A DWORD that holds the type of receipts that the server supports. This member MUST be one of the values defined in FAX_ENUM_DELIVERY_REPORT_TYPES (section 2.2.76).

SMTPAuthOption: A type of SMTP authentication that the server will use for SMTP connections. The options MUST be one of the enumerations defined in FAX_ENUM_SMTP_AUTH_OPTIONS (section 2.2.56).

lpwstrReserved: A reserved pointer, which MUST be set to NULL.

lpwstrSMTPServer: A null-terminated character string that holds the SMTP server name.

dwSMTPPort: A DWORD that holds the port number of the SMTP server.

lpwstrSMTPFrom: A null-terminated character string that holds the SMTP email address of the sender of the fax receipt messages.

lpwstrSMTPUserName: A null-terminated character string that holds the user name to use for Basic-authenticated SMTP connections.

lpwstrSMTPPassword: A null-terminated character string that holds the password to use for Basic-authenticated SMTP connections. For anonymous access, no user name and password is required. For Basic and Integrated authentication, a cleartext password is sent over the wire. It is for the server to use the password that depends on the authentication mode.

bIsToUseForMSRouteThroughEmailMethod: If set to TRUE, the routing extension MUST use the DRT_EMAIL receipts settings to route incoming faxes by email.