[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

In  vba checking outlook mail items a  read   receipt  .SentOn property is invalid

Posted on 2015-02-12
5
Medium Priority
?
372 Views
Last Modified: 2016-02-10
In  vba checking outlook mail items a  read   receipt  .SentOn property is invalid

How would you determine the date time from the properties ?

_Read: Subject:  R&M      INFORMATION ON XXXXXXX
__________________________________________________
Your message

    To:  xxxxxxxxxx
    Subject:  R&M      INFORMATION ON XXXXXXX
    Sent:  12/02/2015 1:06 PM

was read on 12/02/2015 5:49 PM.


Other emails such as replies the property senton is set.
0
Comment
Question by:leibhold
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 71

Accepted Solution

by:
Qlemo earned 2000 total points
ID: 40606940
The receipt is a ReportItem, and no MailItem. See https://msdn.microsoft.com/en-us/library/office/ff865370(v=office.15).aspx for members.
As it seems the CreationTime is what you are looking for. If you also need the corresponding mail item, you will have to perform a search based on the ConversationID.
0
 

Author Comment

by:leibhold
ID: 40607092
Thank you  - explains the issue

I didn't realise that the folder could contain items other than mailitems  - I will check item type first then based on the type obtain the correct information.

Thank you
0
 

Author Closing Comment

by:leibhold
ID: 40607093
Clear and concise help - thanks
0
 
LVL 71

Expert Comment

by:Qlemo
ID: 40607404
Each folder in Outlook can contain different item types. The folder defines the default type only.
0
 

Author Comment

by:leibhold
ID: 40609184
Yes - my code looks into the mail folder for returned emails on a subject basis.
This goes into an access job database where the outgoing emails are created.
When a person replies, it looks at the subject, finds the order number and updates the job with the returned email.
It was starting to get confused when the READ: messages started turning up.

With the change, I can now separate to replies from the read receipts.

Thanks
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question