Method SMTPClient():setProgressBlock() Professional
Sets a code block for progress evaluation
:setProgressBlock( <bProgress> ) --> lSuccess
The method returns .T. (true) when the code block was successfully assigned, or .F. (false) in case of a failure.
The code block passed to this method gets evaluated after data was sent to the SMTP server. Generally, the code block looks like this:
nSent is the number of bytes that have already been sent to the SMTP server. nTotal is the total size of the e-mail in bytes. The parameter oSelf is the object that is evaluating the code block.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.