Sent items saving location change for all emails that i send.

bsharath
bsharath used Ask the Experts™
on
Hi,

Sent items saving location change for all emails that i send.
is there any setting that i can change to save every mail sent to another Pst's folder rather than the default location.

Regards
Sharath
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Chris BottomleySoftware Quality Lead Engineer
Top Expert 2011

Commented:
Hello bsharath,

By default the sent items are saved to the default account folder.  At the very least the storage folder could be changed in the send event handler

Regards,

chris_bottomley
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
    Item.SaveSentMessageFolder = Application.Session.folders("storePSTname")
End Sub

Open in new window

Author

Commented:
Hi Chris
where should i add this code.?And
What should i change in it
Software Quality Lead Engineer
Top Expert 2011
Commented:
Application.Session.folders("storePSTname")

needs to be changed to something like:

Application.Session.folders("SHarth").folders("Sent Items") ' \\Sharth\Sent Items
SHarath being the root folder name and "sent Items" hopefully self explanatory

and the sub exists in thisOutlookSession

Chris
Success in ‘20 With a Profitable Pricing Strategy

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
Chris emailed you my code...Please add the same...Get an Ambious error
Chris BottomleySoftware Quality Lead Engineer
Top Expert 2011

Commented:
What folderpath?

Author

Commented:
\\Sent\Sent Items

Author

Commented:
Thank U
Chris BottomleySoftware Quality Lead Engineer
Top Expert 2011

Commented:
For general information the corrected line is:

Set Application.Session.folders("Sent").folders("Sent Items")

Chris

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial