mailHandle – PB Docs 126

mailHandle PowerScript function

Description

Obtains the handle of a mailSession object.

Controls

mailSession object

Syntax

Argument

Description

mailsession

A mailSession object identifying the
session for which you want the handle

Return Values

UnsignedLong. Returns the internal handle
of the mail session object. If mailsession is null, mailHandle displays
an error message.

Usage

After you have logged on, your mailSession has a valid handle.
You can use that handle to call external mail functions. MAPI has
additional functions that PowerBuilder does not implement directly.

Before calling mail functions, you must declare and create
a mailSession object and call mailLogon to establish
a mail session.

Examples

This statement returns the handle of the current
mail session:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x