View Single Post
  #1  
Old April 12th 06, 12:15 PM posted to microsoft.public.outlook.program_vba
StupidDog
external usenet poster
 
Posts: 7
Default how to change mail's receive time in outlook?

i want to change mail's receive time in outlook.
i can read the mail and get some value, eg ReceivedTime and so on.
but i can not change the ReceivedTime value.
who konw how to do?
thank you!

my code...
_ApplicationPtr pApp;
MAPIFolderPtr pFolder;
_MailItemPtr pNewMail;
_ItemsPtr pItems;

pApp.CreateInstance(__uuidof(Application));
pFolder=pApp-GetNamespace(_bstr_t("MAPI"))-PickFolder();
pItems=pFolder-GetItems();
pNewMail=pItems-GetFirst();

pNewMail-SenderName;
pNewMail-ReceivedTime;

and so on.

--
只要决心成功,失败永远不会把我击垮!
Ads