MailAutoAttachDocType

<< Click to Display Table of Contents >>

Navigation:  E-Mail Functions >

MailAutoAttachDocType

Previous pageReturn to chapter overviewNext page

[Windows platform only; not supported by the Community Edition]

The value of this property controls, what type of document is automatically attached to e-mails
(see also AddMailAttachment).

property DocExportType [integer] VPE.MailAutoAttachDocType

read / write; runtime only

Possible Values:

ActiveX / VCL

Value

Enum

Comment

VPE_DOC_TYPE_AUTO

0

Auto

MailDoc() will attach the document as VPE, PDF or HTML file, depending on the file suffix of the parameter file_name which is supplied to AddMailAttachment().

VPE_DOC_TYPE_VPE

1

VPE

MailDoc() will attach the document as VPE document file, regardless of the file suffix

VPE_DOC_TYPE_PDF

2

PDF

MailDoc() will attach the document as PDF document file, regardless of the file suffix

VPE_DOC_TYPE_HTML

3

HTML

MailDoc() will attach the document as HTML document file, regardless of the file suffix

VPE_DOC_TYPE_XML

4

XML

VPE XML Format

VPE_DOC_TYPE_ODT

5

ODT

OpenOffice Document Text

Default:

VPE_DOC_TYPE_PDF