sendmail OnSuccess event
Return to Introduction  Previous page  Next page
Applies to
SendMail component.  

Declaration
property OnSuccess: TNotifyEvent;  

Description
The OnSuccess event occurs when the e-mail message has been successfully sent to SMTP server. Use OnSuccess event to be notified when the SendMail successfuly dispatched the email message to SMTP server (message will be relayed to recipients shortly by server).  

Note
iiwarning Successful dispatching of message to SMTP server not gives guarantee of successful delivery to recipients. SMTP server may return the message if it could not be relayed to the mailbox.  

See also
OnResponse and OnSMTPError events.  
File not found.