Moving mail causes problem

  • Thread starter Thread starter Günter Brandstätter
  • Start date Start date
G

Günter Brandstätter

Hi all,

i discussed this in the german Outlook-newsgroup also, but did not come to a
solution.
I try to move a mail that arrives in my "sent" folder automatically to
another folder. Works great when I send a mail using the Send-button of
outlook.
Whe I try to send a mail-object using VBA, the mail arriving in my
sent-folder won't be moved. The event "ItemAdd" that I use in
<thisOutlookSession> does not fire. It only fires when sending mail by means
of the Send-button.
Does anyone know an answer to this problem?

Any answer appreciated
 
It should still fire. Why not simply set the MailItem.SaveSentMessageFolder
property before sending the message?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Thank you for your answer.
The user does not have the permissions to do that in our Exchange server, so
I am forced to use the other solution. This procedure should be for other
users to be able to send mail in my behalf and to move the sent message in
my folder automatically

thank you
Günter



Dmitry Streblechenko (MVP) said:
It should still fire. Why not simply set the MailItem.SaveSentMessageFolder
property before sending the message?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool


Günter Brandstätter said:
Hi all,

i discussed this in the german Outlook-newsgroup also, but did not come
to
 
Back
Top