B
Bingo
The following code is to create an Outlook object for an
email in another person's shared folder.
Set oMapiMailItem = oNsp.GetItemFromID(sMailID, sStoreID)
The object is created successfully since all the
properties are correct. But all the following code
failed.
Set oMapiMailItemNew = oMaipMailItem.Forward
Set oMapiMailItemNew = oMaipMailItem.ReplyAll
And the following together also failed although Copy
method has not problem.
Set oMapiMailItemNew = oMaipMailItem.Copy
oMapiMailItemNew.Save
Why does this happen? Also if this was working, after
the "cloned" mail item is sent out, a copy is saved in my
Send box or another person's? Thanks.
email in another person's shared folder.
Set oMapiMailItem = oNsp.GetItemFromID(sMailID, sStoreID)
The object is created successfully since all the
properties are correct. But all the following code
failed.
Set oMapiMailItemNew = oMaipMailItem.Forward
Set oMapiMailItemNew = oMaipMailItem.ReplyAll
And the following together also failed although Copy
method has not problem.
Set oMapiMailItemNew = oMaipMailItem.Copy
oMapiMailItemNew.Save
Why does this happen? Also if this was working, after
the "cloned" mail item is sent out, a copy is saved in my
Send box or another person's? Thanks.