Hi,
It appears as if the Item.IsNew property isn't quite behaving as described in the documentation, which is causing an issue for me.
In the documentation (http://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.item.isnew(v=exchg.80).aspx) it says:"Gets a value that indicates whether this object is a real store item or a local object that has yet to be saved."
So I would expect IsNew to return true for a new EmailMessage until it has been saved to a folder (to me, this is what the above statement is implying).
However, sending the email using item.Send() also seems to cause the IsNew flag to false.
This means I have no actual way of identifying whether the item has really been saved to a folder or not. And this is an issue because I also need to save the email out as an eml file (whether the email was sent or not), but this only appears to work once its been saved! (Specifically, to save the email as an eml file, I need to load the mime content, but this throws an "Object not found in store" exception if the email hasn't been saved).
Since I can't rely on the IsNew property, I seem to be in a bit of a catch-22.
Any way around this?