Solved

Delivery Rules set on secondary PST file

Posted on 2004-08-02
17
299 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
  • 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
 
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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
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 125 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Create high volume marketing opportunities using email signatures with these top 10 DOs and DON'Ts of email signature marketing.
Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now