IdSMTP1.Send(m) - what#s the behaviour if one recipients address is wrong?

Giganews Newsgroups
Subject: IdSMTP1.Send(m) - what#s the behaviour if one recipients address is wrong?
Posted by:  Stefan Westner (westnerNOSP…@iwadis.de)
Date: Thu, 19 Aug 2004

Hello,

if I use a IdSMTP1.Send(m); where m is my TIdMessage which has three
recipients and the second of them is an invalid e-mail-address, what's
the behaviour of the .Send?

Will .Send deliver the first, throws an exception for the second and
delivers the third or will it deliver the message to none of all or
delivers the first, throws and exception on the second and stops then?

I know I could test the behaviour but perhaps someone knows an answer
quicklier... :-)

Thanks

Stefan

Replies