Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / November 2004

Tip: Looking for answers? Try searching our database.

Moving mail causes problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
G?nter Brandst?tter - 18 Nov 2004 08:39 GMT
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

Signature

G?nter Brandst?tter, MCP

Dmitry Streblechenko \(MVP\) - 18 Nov 2004 19:18 GMT
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

> Hi all,
>
[quoted text clipped - 10 lines]
>
> Any answer appreciated
G?nter Brandst?tter - 22 Nov 2004 12:35 GMT
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)" <dmitry@dimastr.com> schrieb im Newsbeitrag
news:ebPZWNazEHA.3808@tk2msftngp13.phx.gbl...
> It should still fire. Why not simply set the MailItem.SaveSentMessageFolder
> property before sending the message?
[quoted text clipped - 20 lines]
> >
> > Any answer appreciated
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.