View Single Post
  #4  
Old April 13th 06, 06:38 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default how to change mail's receive time in outlook?

In which API and programming language?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"StupidDog" wrote in message
...
thank for your reply.

MAPI/CDO 1.21/Redemption?????

but i did not use this.

is there have some example for me ?

thank you!

--
??????,??????????!


"Dmitry Streblechenko" wrote:

Not in Outlook Object Model (where ReceivedTime is read-only).
In MAPI/CDO 1.21/Redemption you can set the PR_MESSAGE_DELIVERY_TIME MAPI
property.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"StupidDog" wrote in message
...
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