![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
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 |