VPE_BEFORE_MAIL

<< Click to Display Table of Contents >>

Navigation:  Messages Generated by VPE-DLL >

VPE_BEFORE_MAIL

Previous pageReturn to chapter overviewNext page

[Windows platform only]

Is sent, when the user clicked the eMail-button in the preview (or pushed the corresponding key). The e-mail was not sent yet, therefore your application has now the option to set receivers, attachments, etc. by code.

VPE_BEFORE_MAIL

WPARAM wParam

LPARAM lParam

Parameters:

wParam

unused

lParam

contains the document-handle, so you can determine which document has sent the message

Remarks:

Your application should return:

Value

Description

0

continue operation

1

cancel operation i.e. do not mail the document

 

Cancelling the operation allows you to display your own mail dialog and/or to execute your own mailing code.

 

See also:

E-Mail Functions