Re: EIdDirectSMTPCannotResolveMX exception

Giganews Newsgroups
Subject: Re: EIdDirectSMTPCannotResolveMX exception
Posted by:  Remy Lebeau (Indy Team) (no.spam@no.spam.com)
Date: Mon, 11 Dec 2006

"Kata32" <NOSPAMkata…@hotmail.com> wrote in message
news:nspqn25t3bgsf27f91v8hcqceqlf0c5p…@4ax.com...

> The exception EIdDirectSMTPCannotResolveMX is raised but not catched!

Yes, it is.

> The IDE show it but in the code at the "except on" statement
> nothing was executed.

Yes, it will be.  When an exception is raised during the actual sending, the
OnDirectSMTPStatus event is triggered with the Action parameter set to
dmWorkEndWithException.

Gambit

Replies

None

In response to

EIdDirectSMTPCannotResolveMX exception posted by Kata32 on Mon, 11 Dec 2006