Reputation: 173
When I use mailItem2=mailItem.copy(); it creates a copy of mailitem in the inbox. I would like to ask if it is possible to create an instance of mailitem in memory without creating a copy in the Inbox.
Upvotes: 0
Views: 984
Reputation: 66255
A message cannot exist without a parent store or at least an MSG file.
Is saving the message as an MSG file an option? What exactly are you doing and why?
Upvotes: 1
Reputation: 11063
Just declare another MailItem variable and set it:
mailItem2 = mailtem;
Upvotes: 0