Received date

M

Marc

Created an Outlook mail item programmatically
and sent it. Then that item was moved in to Sent Items folder in
Microsoft Outlook. Next I created a new folder in Personal Folders
and dragged and dropped that sent mail item in to that folder.
After that the Received date value is empty.

What is the reason for this?
Im using Outlook 2007
Pls help.
 
R

Roady [MVP]

It doesn't have a received date because you never received the email but
sent it.
Change the view for that folder to "Sent To" as that view holds by default
the Sent column.
 
M

Marc

My problem is if you create an email manually in Outlook
and send it, then it updates the Received date value
after dragging it to another folder also.
And I use Redemption Safemailitem object to send mails
via Outlook. This is my sample VFP code to send mails.
Pls someone look in to this and advice.

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 = "(e-mail address removed)"
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()
 
R

Roady [MVP]

You might have better luck when continuing this in one of the developers
newsgroups. They all start with outlook.program_
The creator of Redemption also hangs out there.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top