S
Sanjay_S
Hi
I have created an appliction in VC++ where i will create a mail and save it
in the inbox . It is saving it as draft and not as a sent item.. I have
posted the code below. Please let me know what i need to change.
_ApplicationPtr pApp;
_MailItemPtr olMail( pApp->CreateItem(olMailItem));
olMail->PutTo("(e-mail address removed)");
olMail->Save();
Another issue is if i change the olMailitem to olPostItem i am getting a run
time error..
Thanks
Sanjay
I have created an appliction in VC++ where i will create a mail and save it
in the inbox . It is saving it as draft and not as a sent item.. I have
posted the code below. Please let me know what i need to change.
_ApplicationPtr pApp;
_MailItemPtr olMail( pApp->CreateItem(olMailItem));
olMail->PutTo("(e-mail address removed)");
olMail->Save();
Another issue is if i change the olMailitem to olPostItem i am getting a run
time error..
Thanks
Sanjay