1
//Create the session.
Outlook.Application application = new Outlook.Application();
//Create the session.
Outlook.MailItem mail = application.CreateItem(Outlook.OlItemType.olMailItem) as Outlook.MailItem;
//create the receipents object
Outlook.Recipients objOutlookRecip = mail.Recipients;
while (Recipients.Read())
{
mail.Subject = Confirmations.GetString(2);
mail.Body = Confirmations.GetString(4) + ("\r\n");
mail.Body = mail.Body + ("\r\n") + Confirmations.GetString(5) + ("\r\n");
mail.Body = mail.Body + ("\r\n") + Confirmations.GetString(6);
mail.SentOnBehalfOfName = "[email protected]";
mail.Recipients.Add(Recipients.GetString(8));
}
有誰知道我怎麼可能能夠插入的電子郵件地址爲BCC,而不是當前的進程中,以現場Outlook郵件對象BCC
太感謝了。快樂的聖誕 –
我試圖接受它,但有一個5 - 10分鐘你必須等待,然後再接受:) –