OnSending event

Occur when Mail object is sending email's content to SMTP server.

[Syntax]
Visual C++: HRESULT OnSending( long lSent, long lTotal )
Visual Basic: Object_OnSending( ByVal lSent As Long, ByVal lTotal As Long )

Parameter:

lSent

Size of sent data in bytes.

lTotal

Size of email content in bytes.

Remarks

If application performs an asynchronous SendMail method, this event indicates the email sending progress.

See Also

Asynchronous Property
SendMail Method
Terminate Method