Re: SMTP error msg

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

"Feijó" <fei…@x.suply.com> wrote in message
news:6D0C27364BC6E240fei…@x.suply.com...

> 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.

Gambit

Replies

None

In response to

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