Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Delivery Rules set on secondary PST file

Posted on 2004-08-02
17
Medium Priority
?
312 Views
Last Modified: 2010-04-08
I have a form for work that is a help desk form.  I have a helpdesk e-mail account setup and 2 people have access to this account.  Together the 2 people both have the PST file loaded in outlook to be able to view e-mails to the help desk.  I need to get all e-mails that come in to that account to go to a folder other than INBOX.  How can I setup a rule on a secondary PST file, cause when I try to setup a rule it always looks at the main INBOX for outlook on that machine.  
0
Comment
Question by:Wildstar1221
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 8
17 Comments
 
LVL 15

Expert Comment

by:will_scarlet7
ID: 11694799
If I understand you properly all you would need to do is create a rule that checks mail as it arrives and if it cam through your help desk account move it to a specified folder on your second pst file, no?
0
 
LVL 15

Expert Comment

by:will_scarlet7
ID: 11694839
If that is what you want then go to 1.) Create a new rule, 2.) Start from a blank rule, 3.) Through the specified account (select the account throught which it comes), 4.) Move it to the specified folder (specify the folder), finish. click yes if it asks you if you want to run it on mail currently in your inbox.
0
 
LVL 1

Author Comment

by:Wildstar1221
ID: 11694871
That is correct, but when I try to create a rule the only way the rules work is on the main PST file account ( the one Titled "Outlook Today - [Mailbox - (Username)].  I want the rule to only apply to the secondary attached PST File called "mailbox - Atlanta IT Helpdesk".
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 15

Expert Comment

by:will_scarlet7
ID: 11695747
I'm not sure that I am clear on your situation. Let me list what I am translating your situation to be:

You said "when I try to create a rule the only way the rules work is on the main PST file account "
        if you mean that the rules only run on mail in your "Inbox" that is correct, as far as I know there are only two types or rules, ones that monitor your inbox for incoming mail and ones that monitor what you send. From my experience this has never been a problem as all mail is delivered to your main PST inbox and my rules have been able to sort them from there to any foldr in any of my PST files that I specify in the rule.
0
 
LVL 1

Author Comment

by:Wildstar1221
ID: 11695772
I access a PST from another account and want to sort the e-mail from that account from my account, but I cannot set rules for that account on my computer
0
 
LVL 15

Expert Comment

by:will_scarlet7
ID: 11696156
OK. Now I see what you are trying to do. I do not think this is within the scope of the rules. You would probably need to write it in VBA thought at the moment I can't think of the code you would need. I'll try to get back to you on it if no one else does fairly soon.
0
 
LVL 1

Author Comment

by:Wildstar1221
ID: 11704174
I setup a computer that I have that account opened on as the main PST file.  I set the rules there for temporary purposes and it seems to work just fine, but I want to be able to do this without having to deal witht the other computer.
0
 
LVL 15

Expert Comment

by:will_scarlet7
ID: 11704598
You could set up another profile on your computert that uses this as your main PST and run the rules in that profile. This would save you from writing a VBA procedure to do it.
0
 
LVL 1

Author Comment

by:Wildstar1221
ID: 11704802
Wouldn't I have to have that outlook profile open as well as my normal profile?
0
 
LVL 15

Expert Comment

by:will_scarlet7
ID: 11705158
If all you want to do is move the data in this pst to another folder or PST file then you should be able to do it with just the one profile open that uses this PST as the main inbox. You can have it use your PST as a secondary PST to move data to.
0
 
LVL 1

Author Comment

by:Wildstar1221
ID: 11705356
Sounds good.  I have a couple of options to play with now.  Like I said I have another computer up with that PST set as the main so I can filter there.  It seems to be working, and maybe I will set it up the way that you are talking about.  Thanks for the advice.  I have a couple more things to look at and then I look at giving the points
0
 
LVL 15

Expert Comment

by:will_scarlet7
ID: 11705448
If you still want to try the VBA route, I can still look into that as well, but this might be simpler.
0
 
LVL 1

Author Comment

by:Wildstar1221
ID: 11705473
Yeah if you don't mind looking into it for me that would be great
0
 
LVL 15

Accepted Solution

by:
will_scarlet7 earned 500 total points
ID: 11713949
Wildstar, the following code will move all mail items from one folder to another (user picks the "From" and "To" folders):

Sub MoveMail()
   
    'Declare Objects & Variables
    Dim oOutlook As Outlook.Application
    Dim oNs As Outlook.NameSpace
    Dim oFromFldr As Outlook.MAPIFolder
    Dim oToFldr As Outlook.MAPIFolder
    Dim oMessage As Object
    Dim oMBox As String
   
    'Setup the object variables
    Set oOutlook = New Outlook.Application
    Set oNs = oOutlook.GetNamespace("MAPI")
    oMBox = MsgBox("First select the folder FROM which to get your mail:", vbOKOnly)
    Set oFromFldr = oNs.PickFolder
    oMBox = MsgBox("Now select the folder to move the messages to:", vbOKOnly)
    Set oToFldr = oNs.PickFolder

    'Move all mailitems from origin to destination folders
    For Each oMessage In oFromFldr.Items
            oMessage.Move oToFldr
    Next oMessage
   
    'Clean up object variables
    Set oOutlook = Nothing
    Set oNs = Nothing
    Set oFromFldr = Nothing
    Set oToFldr = Nothing
   
End Sub
0
 
LVL 1

Author Comment

by:Wildstar1221
ID: 11719214
Do you also know how to set it to where you see all e-mail address typed into a new mail message as a hyperlink without typing mailto: first?  I swear it used to and now it doesn't.
0
 
LVL 15

Expert Comment

by:will_scarlet7
ID: 11719402
Sorry, I don't know that one.
0
 
LVL 1

Author Comment

by:Wildstar1221
ID: 11719448
Thank You for your assistance.  You win the real question though.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I discuss my selections of the Top Four free Outlook OST File Viewers available. Open, view and read even damaged OST files by using these tools. They all provide a clear preview of all data such as emails, notes, tasks, calendars, e…
This article describes how to import Lotus Notes Contacts into Outlook 2016, 2013, 2010 and 2007 etc. with a few manual steps. You can easily export and migrate Lotus Notes contacts into Microsoft Outlook without having to use any third party tools.
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question