OnSending event

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

[Syntax]
C++: HRESULT OnSending( long lSent, long lTotal )
Visual Basic: Object_OnSending( ByVal lSent As Long, ByVal lTotal As Long )
Visual Basic.NET: Object_OnSending( ByVal lSent As Integer, ByVal lTotal As Integer )
C#: void OnSending( int lSent, int lTotal )

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


2001-2007 © Copyright AdminSystem Software Limited. All rights reserved.