Results 1 to 9 of 9
  1. #1
    5 Star Lounger Ruff_Hi's Avatar
    Join Date
    Feb 2001
    Location
    New York, New York, USA
    Posts
    768
    Thanks
    0
    Thanked 0 Times in 0 Posts

    'Special' Emails (2003)

    We send lots and lots of emails at work. Some silly, some informational and some actually useful. Most are internal but every now and then we send emails externally. Periodically, we need to collect all the emails we send external and archive / copy them to a specific pst file. I'm trying to think of a way of doing this with as little pain as possible - any suggestions?

    I have some ideas on this but I don't want to 'muddy the waters' at the moment. Ok, maybe a little mud will help - as I see it, this requires something like this ...
    <UL><LI>a method of indicating that an email is 'special'
    <LI>a method of gathering all the 'special' emails
    <LI>a method of moving the gathered 'special' emails to another folder[/list]
    (Location Australia, then UK, but now USA. Heart, outlook, attitude, etc always Australian)
    Quote: "All Happiness is the release of internal pressure"

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: 'Special' Emails (2003)

    We use a special address which we enter into the BCC field on outbound, file-able messages. Someone then accesses that mailbox and retrieves the messages all in one go. However, if the address wasn't used...

  3. #3
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: 'Special' Emails (2003)

    You could create a custom Category ("Messages intended to annoy Clients and Staff") for these "special" e-mails, filter on that Category name, and then Edit | Move them to your "Annoying Archives" PST.
    -John ... I float in liquid gardens
    UTC -7ąDS

  4. #4
    5 Star Lounger Ruff_Hi's Avatar
    Join Date
    Feb 2001
    Location
    New York, New York, USA
    Posts
    768
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: 'Special' Emails (2003)

    Pray tell, what is a 'custom category'?
    (Location Australia, then UK, but now USA. Heart, outlook, attitude, etc always Australian)
    Quote: "All Happiness is the release of internal pressure"

  5. #5
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: 'Special' Emails (2003)

    All Outlook items can have any number of Categories assigned to them, which helps locate them: a single task item might be in a 'widgets' product type Category, a 'customer name' Category, and a 'losing money' Category. To assign a Category to an item, right-click it, select Categories, and the list of existing Categories is displayed. To Add a Category, click on the Master Category List, type and Add your new Category. I vaguely believe that Exchange Administration can broadcast a company wide Custom Category list, but I have no idea how it's done.

    The only danger with Custom Categories is that they are sequestered away in the Registry, and are a pain to migrate to another machine or when you upgrade Office. Search for threads on that problem in this Forum.

    Jefferson's warning note about "If you forget to use the special BCC ... " also applies to Categories, but if you have some criteria to identify those messages/items you can retrospectively bulk apply Categories to a large number of items at once.

    Also, corollary to Jefferson's idea, you have probably seen messsages that come from "listserver@domain.com" which is a no-reply mailbox; the Exchange Server Admin can create this mailbox, and all the "Special" emails then are sent from it. (Avoids getting complaints back to your personal Inbox. <img src=/S/grin.gif border=0 alt=grin width=15 height=15>)
    -John ... I float in liquid gardens
    UTC -7ąDS

  6. #6
    5 Star Lounger Ruff_Hi's Avatar
    Join Date
    Feb 2001
    Location
    New York, New York, USA
    Posts
    768
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: 'Special' Emails (2003)

    OK - this sounds like a good idea. Is it possible to add / delete categories to outlook using VBA? I am thinking of creating a number of categories and then interrupting the send process to ask which category to add to the outgoing email. Then when I go to 'send items' I can group all the special emails together and copy them at the same time.
    (Location Australia, then UK, but now USA. Heart, outlook, attitude, etc always Australian)
    Quote: "All Happiness is the release of internal pressure"

  7. #7
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: 'Special' Emails (2003)

    <P ID="edit" class=small>(Edited by JohnBF on 25-May-05 09:37. Several clarifications.)</P>You could hook into the Application ItemSend Event in the ThisOutlookSession module:

    Application_ItemSend(ByVal Item As Object, Cancel As Boolean)

    I guess what you could do is examine each message, and if there are no Categories assigned, pop up an InputBox or the Categories Dialog. The question would pop on each message sent with no Category (could be annoying), then you can optionally set Cancel to True, and the message is ... umm ... placed in the Drafts Folder I think ... or you can set the code logic to Send the message after a Category has been selected.

    Adding is easy, just assign the Category string to the Item Categories

    objItem.Categories = "Newsletter"

    or use the ShowCategoriesDialog Method, which is simply:

    objItem.ShowCategoriesDialog

    To delete, test for the existence of the Category and then delete it, for example something like

    If InStr(objItem.Categories, "Newsletter") Then objItem.Categories = Replace(objItem.Categories, "Newsletter", "", vbTextCompare)

    remember to Save the Item after any changes:

    objItem.Save
    -John ... I float in liquid gardens
    UTC -7ąDS

  8. #8
    5 Star Lounger Ruff_Hi's Avatar
    Join Date
    Feb 2001
    Location
    New York, New York, USA
    Posts
    768
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: 'Special' Emails (2003)

    Ok, here is the (current) plan.

    Requirements ...
    1. <LI>tag each special email (both inwards and outwards emails) with a unique (job related) string
      <LI>browse through all open folders for special emails that have been tagged
      <LI>move tagged emails to a new PST file (one file for each job)
    Current plan ...
    1. <LI>create a file with a list of job related strings (allow the user to delete and / or add strings)
      <LI>create a button that is available for inwards and outgoing email that lists the job related strings and allows the user to select one
      <LI>attach via categories the job related string to the email
      <LI>create another button that searches through the open pst files for tagged emails (either all tagged emails or those tagged with a particular job related string), provide options that either list the results or move them to a PST file
      <LI>create a new PST file (prompt for name, location, etc)
      <LI>move located emails to the newly created PST file
      <LI>close the PST file
    I have, or have the ability to create, code for plan items 1 to 4. I haven't used VBA to create a PST file, move emails (although that shouldn't be too hard) or close a PST file. Can anyone give me a running start on items 5 and 7?

    Finally - a security question - if I send the email externally, does the category that I have assigned to the email go too? I ask because I don't want to attach strings to my external emails if the external person can see those strings without my knowledge.
    (Location Australia, then UK, but now USA. Heart, outlook, attitude, etc always Australian)
    Quote: "All Happiness is the release of internal pressure"

  9. #9
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: 'Special' Emails (2003)

    How about I point you down the path rather than provide a running start? <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

    Create a PST or load an existing PST with the NameSpace.AddStore Method.

    Some sample Move code is within <post#=457351>post 457351</post#>.

    Close the PST with the NameSpace.RemoveStore Method.

    About your last question, perhaps you can test by sending a Categorized message to an associate?
    -John ... I float in liquid gardens
    UTC -7ąDS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •