![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]() Created an Outlook mail item programmatically and sent it by using Redemption safemailitem. Next I created a new folder in Personal Folders and dragged and dropped that sent mail item in to that new folder from Sent Items folder. Then I checked the Received date value of the mail, that is empty. This is my VFP code to send mails. Pls someone help.. poOutlook = CREATEOBJECT("Outlook.Application") loOutBox = poOutlook.GetNameSpace("MAPI").GetDefaultFolder(4) loRedemption = CREATEOBJECT("Redemption.SafeMailItem") loOutBox = poOutlook.GetNameSpace("MAPI").GetDefaultFolder(4) loRedemption.Item = toOutBox.Items.Add(0) loEmailItem = loRedemption loEmailItem.To = " loEmailItem.Subject = "Test received date "+TTOC(DATETIME()) loEmailItem.BodyFormat = 1 loEmailItem.Body = "Test received date" loOutBoxMailItem = loEmailItem.Move(loOutBox) loMailItem = CREATEOBJECT("Redemption.SafeMailItem") loMailItem.Item = loOutBoxMailItem loMailItem.Send() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Manually change 'Date Sent', 'Date received' in messages ... how ? | baxe0 | Outlook and VBA | 2 | September 15th 15 01:02 PM |
Manually change 'Date Sent', 'Date received' in messages ... how ? | baxe0 | Outlook - Using Forms | 0 | March 21st 07 02:46 PM |
Calcualting the time between email received date and reply date | Shanks | Outlook - General Queries | 3 | February 22nd 07 03:11 AM |
Incorrect Date showing as Received Date | Sean | Outlook - General Queries | 0 | December 27th 06 09:05 AM |
Exporting Date received and Date Sent to Access | Sugarthebeet | Outlook - General Queries | 1 | January 19th 06 08:06 PM |