VpeSetMailText

<< Click to Display Table of Contents >>

Navigation:  E-Mail Functions >

VpeSetMailText

Previous pageReturn to chapter overviewNext page

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

Allows you to specify the e-mail text by code.

void VpeSetMailText(

VpeHandle hDoc,

LPCSTR text

)

VpeHandle hDoc

Document Handle

LPCSTR text

the message text

Remarks:

If VPE is using Extended MAPI (see VpeGetMAPIType), you can also use HTML or RTF for the body text of e-mail messages. For HTML the message text must begin with “<html>” and for RTF the message text must begin with “{\rtf”.

 

The Community Edition does not support Extended MAPI.

Example:

VpeSetMailText(hDoc, "Dear customer of VPE," + chr$(13) + chr$(10) + "we have a new version released.")