Everything is working perfectly except for the final bit:
How can I add aditional information into the .To = feild without the host trying to process it.
Example: the host could be ';mail.example.com';
the recpiants are: test1@hotmail.com, test2@yahoo.com, test3@example.com.
I only want to send the message to ';test3@example.com'; on ';mail.example.com'; but I want to show the full list of recpients.
I have no idea if that makes any sence :)VBS coding for SMTP using CDO.Message?
You can't put people in the To list and not have them sent the email. It tells the email server the people to send it to. What you need to do is process the recipients and send the emails seperately to the mail server who matches the domain of the recipient. Eg:
for each recipient
check domain name
send message to mail.%26lt;domain-name%26gt; to this recipient
next
No comments:
Post a Comment