ph_getmtret PowerHome formula function
Description
This function retrieves the result of the
last asynchronous
operation
Syntax
ph_getmtret (
)
Return value
Integer. The result of the last
asynchronous operation.
Usage
This function currently only has meaning in
conjunction with the ph_sendsmtpemailasync and ph_sendsmtpemailfileasync
function. When using these functions, you have the option to specify the
ID of a macro or formula that you would like to have executed once the
asynchronous operation is complete. In this macro or formula, you would
call the ph_getmtret function to retrieve the result of the asynchronous operation.
Examples
The following examples demonstrate typical syntax/usage for this function.
ph_getmtret()