How do I strip categories from emails sent in OL2003?

C

CuriousGeorge

I understand OL2007 automagically strips categories from incoming and
outgoing emails, but saves the categories of sent emails locally (on the
user's computer) so they can be searched, etc. I want to do the same thing in
OL2003.

I've read 'how' to do it, but I don't understand how to implement it. Can
someone please tell me if 1) it's correct, and 2) how to do it?

Here's what I found (from link
http://www.slipstick.com/emo/2001/up011219.htm):

Code to remove categories on Outlook messages

If you used Kaitlin's earlier EMO tip on using categories to manage your
messages, you might get an occasional message from your email correspondents
wondering why they got a message with the category a-family or z-work. When
you reply to or forward a message, Outlook copies the categories from the
original message to the reply or forward. You can put this simple code in the
ThisOutlookSession module to strip categories from all outgoing messages:

Private Sub Application_ItemSend(ByVal Item As Object, _

Cancel As Boolean)

Item.Categories = ""

End Sub

This and Kaitlin's tip above are just a few examples of what you can to with
Visual Basic for Applications in Outlook to automate your mail and other
chores. If you want to learn more about Outlook VBA, start at
http://www.slipstick.com/dev/vb.htm.


I'm not familiar with VBA. I have already tried modifying OL forms, and I've
had no success. Likewise with this.

Thank you in advance for your help!
 
C

CuriousGeorge

Will I have to do this every time I open Outlook or everytime I send a
message, or will the code (below) be a 'permanent' fix?

Private Sub Application_ItemSend(ByVal Item As Object, _
Cancel As Boolean)
Item.Categories = ""
End Sub

Thank you very much.

Diane Poremsky said:
Press Alt+F11 to open the VBA editor
Paste the code into ThisOutlookSession.
Save

The code will run automatically when you send a message.

--
Diane Poremsky [MVP - Outlook]



Outlook Tips by email:
mailto:[email protected]

EMO - a weekly newsletter about Outlook and Exchange:
mailto:[email protected]

Let's Really Fix Outlook 2010
http://forums.slipstick.com/forumdisplay.php?f=34

CuriousGeorge said:
I understand OL2007 automagically strips categories from incoming and
outgoing emails, but saves the categories of sent emails locally (on the
user's computer) so they can be searched, etc. I want to do the same thing
in
OL2003.

I've read 'how' to do it, but I don't understand how to implement it. Can
someone please tell me if 1) it's correct, and 2) how to do it?

Here's what I found (from link
http://www.slipstick.com/emo/2001/up011219.htm):

Code to remove categories on Outlook messages

If you used Kaitlin's earlier EMO tip on using categories to manage your
messages, you might get an occasional message from your email
correspondents
wondering why they got a message with the category a-family or z-work.
When
you reply to or forward a message, Outlook copies the categories from the
original message to the reply or forward. You can put this simple code in
the
ThisOutlookSession module to strip categories from all outgoing messages:

Private Sub Application_ItemSend(ByVal Item As Object, _

Cancel As Boolean)

Item.Categories = ""

End Sub

This and Kaitlin's tip above are just a few examples of what you can to
with
Visual Basic for Applications in Outlook to automate your mail and other
chores. If you want to learn more about Outlook VBA, start at
http://www.slipstick.com/dev/vb.htm.


I'm not familiar with VBA. I have already tried modifying OL forms, and
I've
had no success. Likewise with this.

Thank you in advance for your help!
 
D

Diane Poremsky [MVP]

It will permanent as long as you hit Save. :) You'll need to set macro
security to warn, so you will need to respond to a dialog each time outlook
opens (it will ask if you want to enable macros). you can avoid the dialog
if you self-sign it.

--
Diane Poremsky [MVP - Outlook]



Outlook Tips by email:
mailto:[email protected]

EMO - a weekly newsletter about Outlook and Exchange:
mailto:[email protected]

Let's Really Fix Outlook 2010
http://forums.slipstick.com/forumdisplay.php?f=34

CuriousGeorge said:
Will I have to do this every time I open Outlook or everytime I send a
message, or will the code (below) be a 'permanent' fix?

Private Sub Application_ItemSend(ByVal Item As Object, _
Cancel As Boolean)
Item.Categories = ""
End Sub

Thank you very much.

Diane Poremsky said:
Press Alt+F11 to open the VBA editor
Paste the code into ThisOutlookSession.
Save

The code will run automatically when you send a message.

--
Diane Poremsky [MVP - Outlook]



Outlook Tips by email:
mailto:[email protected]

EMO - a weekly newsletter about Outlook and Exchange:
mailto:[email protected]

Let's Really Fix Outlook 2010
http://forums.slipstick.com/forumdisplay.php?f=34

message
I understand OL2007 automagically strips categories from incoming and
outgoing emails, but saves the categories of sent emails locally (on
the
user's computer) so they can be searched, etc. I want to do the same
thing
in
OL2003.

I've read 'how' to do it, but I don't understand how to implement it.
Can
someone please tell me if 1) it's correct, and 2) how to do it?

Here's what I found (from link
http://www.slipstick.com/emo/2001/up011219.htm):

Code to remove categories on Outlook messages

If you used Kaitlin's earlier EMO tip on using categories to manage
your
messages, you might get an occasional message from your email
correspondents
wondering why they got a message with the category a-family or z-work.
When
you reply to or forward a message, Outlook copies the categories from
the
original message to the reply or forward. You can put this simple code
in
the
ThisOutlookSession module to strip categories from all outgoing
messages:

Private Sub Application_ItemSend(ByVal Item As Object, _

Cancel As Boolean)

Item.Categories = ""

End Sub

This and Kaitlin's tip above are just a few examples of what you can to
with
Visual Basic for Applications in Outlook to automate your mail and
other
chores. If you want to learn more about Outlook VBA, start at
http://www.slipstick.com/dev/vb.htm.


I'm not familiar with VBA. I have already tried modifying OL forms, and
I've
had no success. Likewise with this.

Thank you in advance for your help!
 
C

CuriousGeorge

I did the selfcert.exe (had to load in original XP disk), but here's the
problem NOW...

It strips away the categories, alright, but from my computer, too!

I wanted to keep the categories so I could see it on my computer (sort my
sent messages by category, for example), but that a recipient would NOT see
it. So it appears the solution I found (the Item.Categories ="") does NOT
accomplish my goal.

Is there another way?

Also, does OL2007 do something different? I was told by a Microsoft tech
person (I called pre-sales, as I have only Office2003, and, after 45 minutes
of hassle, got a Tech in Philippines) that "OL2007 strips the categories from
outgoing emails but keeps them in on your computer, so you can search them by
category later". I question that. IS THAT TRUE???

DOES OL2007 strip the categories out of emails I send such that a recipient
will NOT see the categories (in Yahoo email headers, seen as "Keywords") but
that I can still search the categories after its been sent in the Sent Items
folder?

And, if OL2007 DOES do this, how can I 'build' such functionality into OL2003?

(This link *suggests* OL2007 does this, but I question whether it's
correct...

http://blog.clearcontext.com/2007/01/outlook_2007_ca.html

)

Diane Poremsky said:
It will permanent as long as you hit Save. :) You'll need to set macro
security to warn, so you will need to respond to a dialog each time outlook
opens (it will ask if you want to enable macros). you can avoid the dialog
if you self-sign it.

--
Diane Poremsky [MVP - Outlook]



Outlook Tips by email:
mailto:[email protected]

EMO - a weekly newsletter about Outlook and Exchange:
mailto:[email protected]

Let's Really Fix Outlook 2010
http://forums.slipstick.com/forumdisplay.php?f=34

CuriousGeorge said:
Will I have to do this every time I open Outlook or everytime I send a
message, or will the code (below) be a 'permanent' fix?

Private Sub Application_ItemSend(ByVal Item As Object, _
Cancel As Boolean)
Item.Categories = ""
End Sub

Thank you very much.

Diane Poremsky said:
Press Alt+F11 to open the VBA editor
Paste the code into ThisOutlookSession.
Save

The code will run automatically when you send a message.

--
Diane Poremsky [MVP - Outlook]



Outlook Tips by email:
mailto:[email protected]

EMO - a weekly newsletter about Outlook and Exchange:
mailto:[email protected]

Let's Really Fix Outlook 2010
http://forums.slipstick.com/forumdisplay.php?f=34

message
I understand OL2007 automagically strips categories from incoming and
outgoing emails, but saves the categories of sent emails locally (on
the
user's computer) so they can be searched, etc. I want to do the same
thing
in
OL2003.

I've read 'how' to do it, but I don't understand how to implement it.
Can
someone please tell me if 1) it's correct, and 2) how to do it?

Here's what I found (from link
http://www.slipstick.com/emo/2001/up011219.htm):

Code to remove categories on Outlook messages

If you used Kaitlin's earlier EMO tip on using categories to manage
your
messages, you might get an occasional message from your email
correspondents
wondering why they got a message with the category a-family or z-work.
When
you reply to or forward a message, Outlook copies the categories from
the
original message to the reply or forward. You can put this simple code
in
the
ThisOutlookSession module to strip categories from all outgoing
messages:

Private Sub Application_ItemSend(ByVal Item As Object, _

Cancel As Boolean)

Item.Categories = ""

End Sub

This and Kaitlin's tip above are just a few examples of what you can to
with
Visual Basic for Applications in Outlook to automate your mail and
other
chores. If you want to learn more about Outlook VBA, start at
http://www.slipstick.com/dev/vb.htm.


I'm not familiar with VBA. I have already tried modifying OL forms, and
I've
had no success. Likewise with this.

Thank you in advance for your help!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top