A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

how to change mail's receive time in outlook?



 
 
Thread Tools Search this Thread Display Modes
  #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
  #2  
Old April 12th 06, 11:52 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?

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.

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



  #3  
Old April 13th 06, 04:05 AM posted to microsoft.public.outlook.program_vba
StupidDog
external usenet poster
 
Posts: 7
Default how to change mail's receive time in outlook?

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.

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




  #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.

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






 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check an Outlook mail's *edit mode*? N More Outlook and VBA 2 March 9th 06 08:44 PM
on Outlook Calendar can I change snooze default to a longer time? DougB Outlook - Calandaring 1 February 23rd 06 08:41 PM
Outlook calendar should let me change end time for different days Red_9 Outlook - Calandaring 1 February 14th 06 06:08 AM
change am-pm to 24 hour time in Outlook [email protected] Outlook - Calandaring 3 February 5th 06 12:40 AM
Appts. in Outlook calendar only show in real-time how do I change Out West Cowgirl Outlook - Calandaring 0 January 18th 06 03:31 AM


All times are GMT +1. The time now is 08:39 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright 2004-2025 Outlook Banter.
The comments are property of their posters.