move a message by rule to a location outside of Outlook

S

SCrowley

Brian Tillman said in a post from Dec. 2004 "You can't move a message by rule
to a location outside of Outlook without using a script.--"

Can you tell us how to write that script or where that code might live? I
have found only one that directs the email to another POP server (I think). I
need the message to go to a network server just like Jason's original post.


Thank you,
[email protected]
 
S

SCrowley

Thanks Sue,

Some folks want to save the .msg to their hard drive and some want to save
it to the project folder which is the public server for the company. Is that
specific enough or do you need more detailed information? Thanks for your
help!
 
S

Sue Mosher [MVP-Outlook]

So you don't want to move a message, you want to save it as an .msg file?
For that you use the MailItem.SaveAs method and specify the path. You'll
have to decide how you want the user to specify the path and how you want to
deal with the likelihood that you'll have multiple items with the same
subject, so you can't necessarily use just the item subject.

The other thing you haven't told us is *when* you want this to happen.

If you're new to Outlook VBA macros, these web pages should help you get
started:

http://www.winnetmag.com/Articles/Index.cfm?ArticleID=21522&pg=1
http://www.outlookcode.com/d/vb.htm


--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
S

StatMan

Sue,
I'm looking for something very similar, but I am NOT a programmer. I have
been asked to find a product (add-on) that will prompt the user (when they
send a message) if they want to save a copy. If yes; then allow them to
browse (to local drives or maped drives) to the location to save a copy
(.msg) of the email with any attachments.
 
B

Brian Tillman

StatMan said:
I'm looking for something very similar, but I am NOT a programmer. I
have been asked to find a product (add-on) that will prompt the user
(when they send a message) if they want to save a copy. If yes; then
allow them to browse (to local drives or maped drives) to the
location to save a copy (.msg) of the email with any attachments.

I'd like to be nosy and ask "why". Since Outlook is the only program than
can read Outlook-generated .msg files any way, you're better off keeping
them in an Outlook PST.
 
Top