Using Indy SMTP client component..help please

Hi,

I am trying to send email to a list of email addresses from a table. I would
iterate through the list and send the info to the SMTP client component.
How do I detect if a malformed email address or unresolved host so that
I can log this and move on to the next record in the table?

Thanks for any help.

Andrew