I'd like to send an email by using vsto outlook addin.
There will be multiple recipients and data about recipients from DBMS. In mail template there will be a keywords should be replaced with personal data like name, working title. And must be only one recipient address on each mail being looked like we send a mail to each others.
I'd like to send mail to each person not to all together. I can cancel the original mail and send a mail to each person one by one with mail body and subject text changed.
I noticed there will be as same amount of mails in "Sent Folder" as the number of recipients.
I'd like to see only one original mail in "Sent folder" even though the original message was not sent (The original message should not be sent.)
I think i can delete all each mails from "Sent Folder " after sending all mails and move the original message to "sent folder" but the original mail marked as "UnSent" and submitted time is not set. How do i make this item look like a sent mail by programmatically.
Or is there any way to solve my problem?
I am working on Outlook 2007 and Visual Studio 2010 VSTO with Framework 3.5.