VpeSetMailSender

<< Click to Display Table of Contents >>

Navigation:  E-Mail Functions >

VpeSetMailSender

Previous pageReturn to chapter overviewNext page

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

Allows you to specify the message sender by code.

void VpeSetMailSender(

VpeHandle hDoc,

LPCSTR sender

)

VpeHandle hDoc

Document Handle

LPCSTR sender

the name / e-mail address of the sender

Remarks:

Normally it is not necessary to set this property, because the MAPI client will use the default profile, or the user will be able to select his profile.

 

If Extended MAPI is active, setting this property has no effect.

Example:

VpeSetMailSender(hDoc, "Support@IdealSoftware.com")