How to put a mail item into the Sent Items programmatically.

A

Arcady

Hello,
I'm working on an outlook addin that sends messages in the MailItem's Send
event by non-standard means.
If my send procedure suceceeds, I would like to cancel the Send event, close
the mail item and move it into the Sent Item folder such that it would appear
to the user as a regular sent message (I also don't want the "This message
has not been sent" lagel to appear in the inspector window when the user
opens the item).
How can I do that ?

Thanks,
Arcady.
 
D

dolivastro

My experience is that you really can't trick the Mail routines to do
things like that. It's a security violation. Think of what might
happen if someone did that with a virus.

Of course, maybe someone else knows better. But my opiniion is that it
is not wise to play games like this.

Dom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top