sendmail OnAnyError event
Return to Introduction  Previous page  Next page
Applies to
acSendMail and acHTTP components.  

property OnAnyError: TNotifyEvent;  

The OnAnyError event occurs when ANY fatal error has occured on delivering the message to server (except OnCantAttach).  
The fatal error means that message could not be delivered. Such errors can be also handled by following events: OnConnLost, OnHostUnreachable and OnSMTPError.  

See also
OnConnLost, OnHostUnreachable and OnSMTPError events.