Moving message to a specific folder after sending it

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I'm quite new with programming, so please be patiet :-)

I have created a form to be used on certain situations. I want that sent
messages based on this form will be automatically moved to a (fixed)
specified folder. How do I define on the form that message will moved
automatically to specified folder after/on sending.
 
Addition to this.

The destination folder is in another mailbox. OL client version is 2003

"BlondBabe" kirjoitti:
 
Hi Team,

I was searching for an answer to exactly this problem, and found this
lonely-looking old post.

Does the fact that there are no responses to this gent indicate that it is
generally agreed that there is no solution to this problem? Perhaps the
answer is to be found elsewhere?

Any input would be appreciated.

Cheers,

Rob Levy
 
RobL said:
Hi Team,

I was searching for an answer to exactly this problem, and found
this lonely-looking old post.

Does the fact that there are no responses to this gent indicate that
it is generally agreed that there is no solution to this problem?
Perhaps the answer is to be found elsewhere?

Any input would be appreciated.

Cheers,

Rob Levy

Hi Rob,

The original message has been removed from the MS server (it may exist
on others of course), and you have not supplied a link to it, so we
cannot really be sure what was discussed previously.

However, the following would seem to address the original subject
line:

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Private Sub olSentItems_ItemAdd(ByVal Item As Object)

Item.Move
Application.GetNamespace("MAPI").GetDefaultFolder(olFolderInbox)

End Sub

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


Obviously you may wish to use a different destination that the inbox
as in this example.

HTH,

Alan.
 
Alan,

thanks a lot for your response.

That's exactly the solution I stumbled upon myself. It actually works
really well.

Thanks for the post.

Rob
 
Back
Top