how to store an email in the sent folder with senddate and receiver?

C

Christoph Guentner

Hi,

I write an AddIn (in VB6) to send SMS via a connected cell phone.
This already works.
I want to store the sent SMS in the sent items folders like sent emails. I
can do this, too.
But I cannot set the SentOn property to set the according time and date when
it has been sent.
Is there any way to do this?
And when adding the Recipients Outlook always asks for permission to do
that. Can I avoid that?
(Btw: I found a way to get the email addresses of any sent or received email
without that "security" prompt for Ol2k and XP - 2003 not yet tested, but
should work as well.)


I tried with an own dialog to enter the SMS and receiver and then create a
new mail item.
And I tried to add a ItemSend function, send in in the SMS and return false
in the cancel paramter. (But with this I cannot access the receiver without
the security prompt from outlook.)

Both ways do not work as I want it to.
Is there a function that is called with the mail item when it will be sent
out? (ItemSend is called when the user presses 'Send', but not when the item
is sent and moved to the sent items folder.


Regards,
Christoph Guentner
 

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