A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Change Sensitivity



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 19th 06, 08:20 PM posted to microsoft.public.outlook.program_vba
dthmtlgod
external usenet poster
 
Posts: 3
Default Change Sensitivity

I am attempting to change the sensitity of an incoming message.

Sub CustomMailMessageRule(Item As Outlook.MailItem)

If Item.Sensitivity olNormal Then
Set oNewItem = Item.Forward
With oNewItem
.To = "
.Sensitivity = olNormal
.Send
End With
Item.Delete
End If
End Sub


This works, but it won't work on a PRIVATE e-mail. Is there a way to change
this?

Thanks


Ads
  #2  
Old January 19th 06, 10:15 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default Change Sensitivity

No; if it's read-only in the UI, it's usually read-only in code.

--
Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"dthmtlgod" wrote:

I am attempting to change the sensitity of an incoming message.

Sub CustomMailMessageRule(Item As Outlook.MailItem)

If Item.Sensitivity olNormal Then
Set oNewItem = Item.Forward
With oNewItem
.To = "
.Sensitivity = olNormal
.Send
End With
Item.Delete
End If
End Sub


This works, but it won't work on a PRIVATE e-mail. Is there a way to change
this?

Thanks



  #3  
Old January 20th 06, 06:04 PM posted to microsoft.public.outlook.program_vba
dthmtlgod
external usenet poster
 
Posts: 3
Default Change Sensitivity

Thank you. What I did was forward the e-mail as a new mail and I am then
able to send it without a sensitivity flag. It seems to work pretty good
other than the warning about "a program is trying to access e-mail addresses
you have stored in Outlook. Do you want to allow this?"


"Eric Legault [MVP - Outlook]" wrote in
message ...
No; if it's read-only in the UI, it's usually read-only in code.

--
Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"dthmtlgod" wrote:

I am attempting to change the sensitity of an incoming message.

Sub CustomMailMessageRule(Item As Outlook.MailItem)

If Item.Sensitivity olNormal Then
Set oNewItem = Item.Forward
With oNewItem
.To = "
.Sensitivity = olNormal
.Send
End With
Item.Delete
End If
End Sub


This works, but it won't work on a PRIVATE e-mail. Is there a way to
change
this?

Thanks





  #4  
Old January 20th 06, 07:46 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default Change Sensitivity

You can use Redemption (http://www.dimastr.com) to bypass that warning. This
also won't happen with OL 2003 if you derive all your variables from the
intrinsic Application object.

More info:

Microsoft Outlook "Object Model Guard" Security Issues for Developers:
http://www.outlookcode.com/d/sec.htm

--
Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"dthmtlgod" wrote:

Thank you. What I did was forward the e-mail as a new mail and I am then
able to send it without a sensitivity flag. It seems to work pretty good
other than the warning about "a program is trying to access e-mail addresses
you have stored in Outlook. Do you want to allow this?"


"Eric Legault [MVP - Outlook]" wrote in
message ...
No; if it's read-only in the UI, it's usually read-only in code.

--
Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"dthmtlgod" wrote:

I am attempting to change the sensitity of an incoming message.

Sub CustomMailMessageRule(Item As Outlook.MailItem)

If Item.Sensitivity olNormal Then
Set oNewItem = Item.Forward
With oNewItem
.To = "
.Sensitivity = olNormal
.Send
End With
Item.Delete
End If
End Sub


This works, but it won't work on a PRIVATE e-mail. Is there a way to
change
this?

Thanks






 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
don't change meeting times in Mobile 2003 when timezones change. fhorkey Outlook - Calandaring 1 February 16th 06 04:44 PM
Why does Outlook 2003 Contact Form change with regional Unicode change [email protected] Outlook - General Queries 0 January 19th 06 04:50 AM
change Yorkey Outlook - Installation 2 January 13th 06 10:10 PM


All times are GMT +1. The time now is 08:08 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.