I doubt it is possible.
Have you tried to modify the line
If item1.SentOn = item2.SentOn Then
to something like
If Abs(item1.SentOn, item2.SentOn) 1/24/60/60 Then
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Rayo K" wrote in message
...
I have found something. The problem seems to be with emails that are
replies
or Fwds. In one case the SentOn and Subject properties return those of the
reply or forward, and in the other they return the properties of the
original
email.
Now, how do I specify that the property should be from the reply/forward?
"Dmitry Streblechenko" wrote:
Please show your code. Are you sure the date/time properties are the
same?
Due to the roundoff errors, you should never expect an exact match, but
rather check that the difference between two values is less than some
value
(e.g. millisecond).
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Rayo K" wrote in message
...
Hello,
I have a macro that is supposed to check my HTTP MSN acount for any
sent
emails that are not already in my OUtlook folder "Sent Items". I
compare
them
by checking the sent time and subject. However, the code seems to treat
the
properties as 'not equal' even when it's the same email. Is there
something
about being on a HTTP server that affects the item properties such that
they
will evaluate as not equal?