E
Ed Bitzer
Trying to send groups of email with program using System.Net.Mail. I
do not clear MailMessage but repeatedly loop changing only the Bcc
entries. Works fine if all addresses are valid. As a simple test I
have attempted to send a valid address, then an invalid address which
my ISP (Comcast) will reject immediately as "Not our customer". I
catch the exception, display and then continue looping to send several
additional valid. The balance all are "caught" and display the an
error but they are sent. I have negligible knowledge of exceptions
but suspect I need to clear.
loop through the following changing only the bcc
try
smtpobject.Send(MyMailMsg)
Catch ex as Exception
msgbox(ex.tostring)
end try
Appreciate as usual,
Ed
do not clear MailMessage but repeatedly loop changing only the Bcc
entries. Works fine if all addresses are valid. As a simple test I
have attempted to send a valid address, then an invalid address which
my ISP (Comcast) will reject immediately as "Not our customer". I
catch the exception, display and then continue looping to send several
additional valid. The balance all are "caught" and display the an
error but they are sent. I have negligible knowledge of exceptions
but suspect I need to clear.
loop through the following changing only the bcc
try
smtpobject.Send(MyMailMsg)
Catch ex as Exception
msgbox(ex.tostring)
end try
Appreciate as usual,
Ed