S
StupidDog
I write some code for add email to outlook. But i do't
change "sender",who can help me? thanks!
My Code like this...
_MailItemPtr pNewMail;
pNewMail=m_pItems->Add();
pNewMail->To="someone";
pNewMail->CC="someone";
pNewMail->Subject="subject";
pNewMail->Body="body";
pNewMail->UnRead = FALSE;
pNewMail->Save();
NewMail->Move(m_pFolder);
change "sender",who can help me? thanks!
My Code like this...
_MailItemPtr pNewMail;
pNewMail=m_pItems->Add();
pNewMail->To="someone";
pNewMail->CC="someone";
pNewMail->Subject="subject";
pNewMail->Body="body";
pNewMail->UnRead = FALSE;
pNewMail->Save();
NewMail->Move(m_pFolder);