Re: SMTP error msg

Giganews Newsgroups
Subject: Re: SMTP error msg
Posted by:  Remy Lebeau (TeamB) (
Date: Fri, 8 Apr 2005

"Feijó" <fei…> wrote in message

> There is any property in TIdSMTP with the Error msg after
> any problem when I execute Send(message) ?

There is a LastCmdResult property.  But it is only filled in if the other
party actively sent back response data.  For things like socket errors and
premature disconnects, you have to catch exceptions that get thrown.




In response to

SMTP error msg posted by Feijó on Fri, 8 Apr 2005