wodSmtpServer ActiveX Control - MailReset Event
    
 

Description

Fires when user sends RSET command to reset any issued commands.


Syntax

Private Sub object_MailReset(User)



The MailReset Event syntax has these parts:

Part Description
object A wodSmtpServer object.
User A SmtpUser object. Reference to the user who wants to reset the session.

Remarks

This event is fired when client sends 'RSET' command, thus canceling any previous commands.

For example, client may send MAIL FROM: and RCPT TO: commands (and you will receive appropriate events for those commands) and after that it can 'change it's mind' and reset it - to start all over (with new sender and recipients). Since you must know that any previously stored recipients are now invalid - you should update that information from this event.

RSET command can be issued anytime during message posting - except when actual body is transmitted.