|Subject:||Email with multiple recipients not sent|
|Posted by:||c567591 (mat…@firestreamww.com)|
|Date:||Tue, 11 Nov 2008|
I am trying to send an email with multiple recipients and it is not getting sent.
I trap the exception and log it to a log file:
18:39:38: ***Email ID[xxxxx] Message to: perso…@abc.com, perso…@abc.com, perso…@abc.com
18:39:38: ***Email error: <perso…@abc.com>: Recipient address rejected: User unknown in local recipient table
abc.com is our corporate mail server (Domain changed for privacy) and person1 and person2 are valid recipients and person3 is not.
This is getting caught in the exception handler and the whole email is not being sent. Person1 and Person2 should still get the email, but because of the exception, none are.
This works fine for remote recipients on foreign mail servers, just on a local server it is failing.
how can I handle this in a way to allow this email to get sent? Some emails may have a large number of recipients and I'd hate to have to have to try sending to each individually.