mailHandle PowerScript function
Description
Obtains the handle of a mailSession object.
Controls
mailSession object
Syntax
1 |
<span>mailsession</span>.<span>mailHandle</span> ( ) |
Argument |
Description |
---|---|
mailsession |
A mailSession object identifying the |
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:
1 |
current_session. <span>mailHandle</span>() |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest