mailLogoff PowerScript function
Description
Ends the mail session, breaking the connection between the
PowerBuilder application and mail. If the mail application was already
running when PowerBuilder began the mail session, it is left in
the same state.
Controls
mailSession object
Syntax
1 |
<span>mailsession</span>.<span>mailLogoff</span> ( ) |
Argument |
Description |
---|---|
mailsession |
A mailSession object identifying the |
Return Values
mailReturnCode. Returns one of the following values:
-
mailReturnSuccess!
-
mailReturnFailure!
-
mailReturnInsufficientMemory!
Usage
To release the memory used by the mailSession object, use
the DESTROY keyword after ending the mail session.
Before calling mail functions, you must declare and create
a mailSession object and call mailLogon to establish
a mail session.
Examples
This statement terminates the current mail session:
1 |
current_session. <span>mailLogoff</span>() |
1 |
DESTROY current_session |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest