Back to product page

Progress Method


Called during message sending.

Syntax

  • Basic
object.Progress (Owner, Position, Total)
The Progress(object,Owner,Position,Total) syntax has these parts:
objectAn expression evaluating to an object of type IwodSmtpClientNotify
OwnerwodSmtp object. Reference to wodSmtpCom instance that called this callback method.
PositionA Long value. Current progress position in the message.
TotalA Long value. Total number of bytes that will be sent.

Remarks

NOTE: This method is called only if you implemented IwodSmtpClientNotify interface in your application, and wodSmtp1.Notification property has received reference to instance of your implementation.

Progress notification method can be called many times by wodSmtp during sending of the message. As the message travels to SMTP server, progress event will show current position.

Platforms

Windows