S
Steve
I have a mail sender program that sends emails to a mailing list. When
I send a message to one of the servers we use, it seems that one
SendFailedException for an invalid address kills the whole list.
(because getting the unsent valid addresses shows the remainder of the
list, and also because I didn't get the message anywhere).
Am I actually supposed to put the whole thing in a loop, go back to my
list and remove the invalid address that were returned, and then try again?
That concerns me, because sometimes I get addresses in the valid unsent
list that weren't in this message -- they were addresses in some earlier
attempt that failed. Which makes me wonder if whatever Transport
connects to buffers that info, making it persist somehow into a
different session.
I send a message to one of the servers we use, it seems that one
SendFailedException for an invalid address kills the whole list.
(because getting the unsent valid addresses shows the remainder of the
list, and also because I didn't get the message anywhere).
Am I actually supposed to put the whole thing in a loop, go back to my
list and remove the invalid address that were returned, and then try again?
That concerns me, because sometimes I get addresses in the valid unsent
list that weren't in this message -- they were addresses in some earlier
attempt that failed. Which makes me wonder if whatever Transport
connects to buffers that info, making it persist somehow into a
different session.