- Click File, and then click Options.
- In the list of categories, click Trust Center, and then click Trust Center Settings.
- In the Trust Center, click the E-mail Security category.
- Click to enable Allow script in Public Folders.
Showing posts with label Outlook. Show all posts
Showing posts with label Outlook. Show all posts
Wednesday, September 14, 2011
VBscript code behind custom form in Exchange public folder is not running in Outlook 2010
In Outlook 2010, the default behavior was changed to prevent scripts from running in public folders. To re-enable this behavior in Outlook, follow these steps:
Wednesday, July 7, 2010
Monday, January 25, 2010
The "Request For Permission to Use a Key" dialog box appears whenever you try to send an e-mail message in Outlook 2007
Read the following article from Microsoft knowledge base: http://support.microsoft.com/kb/936029
Wednesday, July 15, 2009
How to automatically BCC all outgoing messages in Outlook
From http://www.outlookcode.com/article.aspx?id=72 we read:
Outlook has a rule to automatically Cc another person on outgoing messages, but no equivalent for Bcc. This page offers two code samples for adding such an automatic Bcc. Both use the Application.ItemSend event, which fires whenever a user sends a message or other item.
Method #1 (Basic)
This version is suitable for Outlook 2003 or later. It uses Outlook objects exclusively and includes error handling to avoid problems with an invalid Bcc address. Place this VBA code in the built-in ThisOutlookSession module:
Private Sub Application_ItemSend(ByVal Item As Object, _
Cancel As Boolean)
Dim objRecip As Recipient
Dim strMsg As String
Dim res As Integer
Dim strBcc As String
On Error Resume Next
' #### USER OPTIONS ####
' address for Bcc -- must be SMTP address or resolvable
' to a name in the address book
strBcc = "someone@somewhere.dom"
Set objRecip = Item.Recipients.Add(strBcc)
objRecip.Type = olBCC
If Not objRecip.Resolve Then
strMsg = "Could not resolve the Bcc recipient. " & _
"Do you want still to send the message?"
res = MsgBox(strMsg, vbYesNo + vbDefaultButton1, _
"Could Not Resolve Bcc Recipient")
If res = vbNo Then
Cancel = True
End If
End If
Set objRecip = Nothing
End Sub
Make sure you substitute the right e-mail address for "someone@somewhere.dom."
The reason that this method is not suitable for versions earlier than Outlook 2003 is because it will trigger an address book security prompt due to the use of Recipients.Add. You could avoid security prompts by simply setting the Item.Bcc property to the desired address, but that has two problems. First, it would wipe out any Bcc recipients that the user might have already added. Also, in some Outlook configurations, setting Bcc without trying to resolve the address results in an unresolved address, even if you use a proper SMTP address; you'll get an error, and Outlook won't send the message.
Method #2 (Redemption)
This version uses the same basic technique as Method #1, only with the third-party Outlook Redemption library to avoid security prompts in versions before Outlook 2003 and, if the recipient cannot be resolved, to display to the user the name resolution dialog.
Private Sub Application_ItemSend(ByVal Item As Object, _
Cancel As Boolean)
' Requires a reference to
' the SafeOutlook library (Redemption.dll)
Dim objMe As Redemption.SafeRecipient
Dim sMail As Redemption.SafeMailItem
On Error Resume Next
Set sMail = CreateObject("Redemption.SafeMailItem")
Item.Save
sMail.Item = Item
Set objMe = sMail.Recipients.Add("myaddress@mydomain.dom")
objMe.Type = olBCC
If Not objMe.Resolve(True) Then
Cancel = True
End If
Set objMe = Nothing
Set sMail = Nothing
End Sub
Make sure you substitute the right e-mail address for "myaddress@mydomain.dom."
Outlook has a rule to automatically Cc another person on outgoing messages, but no equivalent for Bcc. This page offers two code samples for adding such an automatic Bcc. Both use the Application.ItemSend event, which fires whenever a user sends a message or other item.
Method #1 (Basic)
This version is suitable for Outlook 2003 or later. It uses Outlook objects exclusively and includes error handling to avoid problems with an invalid Bcc address. Place this VBA code in the built-in ThisOutlookSession module:
Private Sub Application_ItemSend(ByVal Item As Object, _
Cancel As Boolean)
Dim objRecip As Recipient
Dim strMsg As String
Dim res As Integer
Dim strBcc As String
On Error Resume Next
' #### USER OPTIONS ####
' address for Bcc -- must be SMTP address or resolvable
' to a name in the address book
strBcc = "someone@somewhere.dom"
Set objRecip = Item.Recipients.Add(strBcc)
objRecip.Type = olBCC
If Not objRecip.Resolve Then
strMsg = "Could not resolve the Bcc recipient. " & _
"Do you want still to send the message?"
res = MsgBox(strMsg, vbYesNo + vbDefaultButton1, _
"Could Not Resolve Bcc Recipient")
If res = vbNo Then
Cancel = True
End If
End If
Set objRecip = Nothing
End Sub
Make sure you substitute the right e-mail address for "someone@somewhere.dom."
The reason that this method is not suitable for versions earlier than Outlook 2003 is because it will trigger an address book security prompt due to the use of Recipients.Add. You could avoid security prompts by simply setting the Item.Bcc property to the desired address, but that has two problems. First, it would wipe out any Bcc recipients that the user might have already added. Also, in some Outlook configurations, setting Bcc without trying to resolve the address results in an unresolved address, even if you use a proper SMTP address; you'll get an error, and Outlook won't send the message.
Method #2 (Redemption)
This version uses the same basic technique as Method #1, only with the third-party Outlook Redemption library to avoid security prompts in versions before Outlook 2003 and, if the recipient cannot be resolved, to display to the user the name resolution dialog.
Private Sub Application_ItemSend(ByVal Item As Object, _
Cancel As Boolean)
' Requires a reference to
' the SafeOutlook library (Redemption.dll)
Dim objMe As Redemption.SafeRecipient
Dim sMail As Redemption.SafeMailItem
On Error Resume Next
Set sMail = CreateObject("Redemption.SafeMailItem")
Item.Save
sMail.Item = Item
Set objMe = sMail.Recipients.Add("myaddress@mydomain.dom")
objMe.Type = olBCC
If Not objMe.Resolve(True) Then
Cancel = True
End If
Set objMe = Nothing
Set sMail = Nothing
End Sub
Make sure you substitute the right e-mail address for "myaddress@mydomain.dom."
Tuesday, June 16, 2009
How do I view other users' mailbox in Outlook
from http://kb.iu.edu/data/agny.html we read:
If you have permission to access any folders in another user's Exchange mailbox in Outlook, you may open the folders on demand. If you need more frequent access to them, or access to a subfolder, you may add another user's mailbox to your Outlook Folder List.
Opening another user's folder on demand in Outlook 2000, 2002, 2003, or 2007
This method will allow you to open one of the primary mailbox folders (Calendar, Contacts, Inbox, Journal, Notes, or Tasks) in a separate window that will not reappear the next time you start Outlook:
1. From the File menu, select Open, and then Other User's Folder... .
2. In the Open Other User's Folder window, type the other person's username, or use the Name... button to select the person's name from the Address Book.
Note: You can only open the mailbox of another Exchange user.
3. From the drop-down list, select the folder you wish to open. If that folder is not listed, the only way you can access it is to add the other user's mailbox to your Outlook Folder List.
4. Click OK or Open. The folder should open in a new window. If you receive an error message about permissions, check with the mailbox's owner to ensure that you have permission to access the folder you're trying to open.
Adding another user's mailbox to your Outlook Folder List in Outlook 2000, 2002, 2003, or 2007
Note: Although you can add other users' mailboxes to your Outlook Folder List without having any permissions for their mailboxes, you will not be able to view them unless you have at least Reviewer permission.
1. In Outlook 2007, from the Tools menu, select Account Settings... . Highlight Microsoft Exchange, and click Change. Then click the More Settings... button.
In Outlook 2002 and 2003, from the Tools menu, select E-mail Accounts... and then select the radio button next to View or change existing email accounts. Click Next. At the next screen, highlight Microsoft Exchange Server, and click Change. Then click More Settings.
In Outlook 2000, from the Tools menu, select Services... . Highlight Microsoft Exchange Server and click Properties.
2. Click the Advanced tab, and then click the Add... button. This allows you to add mailboxes to your Outlook Folder List.
3. In the "Add Mailbox" field, enter the username or name (in lastname, firstname format) of the person to whose mailbox you have shared access.
4. You should now see the additional mailbox on the Folder List. (If you can't see the Folder List, select View, and then Folder List.) Any folders that a user gives you permission to access should be listed under the other person's mailbox. If you cannot expand the Folder List, the other person has not given you permission to access the mailbox.
5. If you like, you can create a shortcut to a folder by dragging it to the Outlook Bar (the leftmost column visible)
If you have permission to access any folders in another user's Exchange mailbox in Outlook, you may open the folders on demand. If you need more frequent access to them, or access to a subfolder, you may add another user's mailbox to your Outlook Folder List.
Opening another user's folder on demand in Outlook 2000, 2002, 2003, or 2007
This method will allow you to open one of the primary mailbox folders (Calendar, Contacts, Inbox, Journal, Notes, or Tasks) in a separate window that will not reappear the next time you start Outlook:
1. From the File menu, select Open, and then Other User's Folder... .
2. In the Open Other User's Folder window, type the other person's username, or use the Name... button to select the person's name from the Address Book.
Note: You can only open the mailbox of another Exchange user.
3. From the drop-down list, select the folder you wish to open. If that folder is not listed, the only way you can access it is to add the other user's mailbox to your Outlook Folder List.
4. Click OK or Open. The folder should open in a new window. If you receive an error message about permissions, check with the mailbox's owner to ensure that you have permission to access the folder you're trying to open.
Adding another user's mailbox to your Outlook Folder List in Outlook 2000, 2002, 2003, or 2007
Note: Although you can add other users' mailboxes to your Outlook Folder List without having any permissions for their mailboxes, you will not be able to view them unless you have at least Reviewer permission.
1. In Outlook 2007, from the Tools menu, select Account Settings... . Highlight Microsoft Exchange, and click Change. Then click the More Settings... button.
In Outlook 2002 and 2003, from the Tools menu, select E-mail Accounts... and then select the radio button next to View or change existing email accounts. Click Next. At the next screen, highlight Microsoft Exchange Server, and click Change. Then click More Settings.
In Outlook 2000, from the Tools menu, select Services... . Highlight Microsoft Exchange Server and click Properties.
2. Click the Advanced tab, and then click the Add... button. This allows you to add mailboxes to your Outlook Folder List.
3. In the "Add Mailbox" field, enter the username or name (in lastname, firstname format) of the person to whose mailbox you have shared access.
4. You should now see the additional mailbox on the Folder List. (If you can't see the Folder List, select View, and then Folder List.) Any folders that a user gives you permission to access should be listed under the other person's mailbox. If you cannot expand the Folder List, the other person has not given you permission to access the mailbox.
5. If you like, you can create a shortcut to a folder by dragging it to the Outlook Bar (the leftmost column visible)
How do I allow other users to view my folders in my Exchange mailbox?
From http://kb.iu.edu/data/aisw.html we read:
In Outlook for Windows, if you have an Exchange mailbox, you can allow others within your Exchange organization to access folders in your Exchange mailbox, including your calendar. You can use Microsoft Outlook to share your mailbox folders and to access others' mailbox folders that have been shared with you.
Outlook allows two types of sharing:
* Folder permissions: This type of sharing allows selected others to view the contents of a specified folder, but does not allow others to send email on your behalf. When setting up folder permissions, you can determine exactly how much access a given person has to your folder, choosing from nine roles with different permissions:
o Owner: Allows full rights to the mailbox, including assigning permissions; you should not assign this role to anyone
o Publishing Editor: Can create, read, edit, and delete all items, and create subfolders
o Editor: Can create, read, edit, and delete all items
o Publishing Author: Can create and read items, create subfolders, and edit and delete items they've created
o Author: Can create and read items, and edit and delete items they've created
o Nonediting Author: Can create and read items, and delete items they've created
o Reviewer: Can read items
o Contributor: Can create items
o None: Gives no permissions for the selected accounts on the specified folder
* Delegates: You can also designate delegates, who can have different permissions but also the additional ability to send email on your behalf. By default, a delegate has Editor permissions on the Calendar and Tasks folders.
Setting folder permissions in Outlook
First, you need to give the other person access permission to both the mailbox and the specific folder in the mailbox. Assign permissions along the entire path down to the folder you want to share; for example, if you want others to have access to a subfolder in your Inbox, you need to assign permissions to the mailbox folder, the Inbox folder, and the subfolder. To set permissions on folders:
1. Open Outlook, and find the Folder List. If you don't see the Folder List, from the Go (Outlook 2007 and Outlook 2003) or View (Outlook 2002 and earlier) menu, click Folder List. Then, from the Folder List, right-click the folder you wish to share (this could be your mailbox, Inbox, or calendar, or a subfolder).
2. From the menu that appears, select Properties, and then click the Permissions tab.
Note: If you do not see the Permissions tab, you probably have Personal Folders set as your default delivery location. In order to grant permissions, set the default delivery location to your Microsoft Exchange mailbox. See In Microsoft Outlook, why is my Exchange email disappearing from my Inbox at work after I read it at home?
3. Click Add... , and select the people to whom you wish to grant permissions. After each selection, click Add-> . When you are done, click OK.
4. You can now select which permissions to grant. If you wish to grant only the ability to view items in this folder, assign the role of Reviewer. For more on permissions, see the list above.
To grant permissions, select a name from the box beneath "Name:" and "Permissions:", and then from the drop-down menu beside "Permission Level:" or "Role:", make your selection. You can also create custom permissions by making selections from the checkboxes and radio buttons within the "Permissions" area. Once you've finished making your selections, click Apply, and then OK.
Important: In the list under "Name:", the group called "Default" includes everyone at Indiana University who has an Exchange account. Under normal circumstances, you should not assign permissions to it; leave it set to None. If you grant any permissions or assign a role to it, you are granting those permissions to everyone with an IU Exchange account.
5. Those to whom you have granted permissions now need to set up Outlook to view your folders.
In Outlook for Windows, if you have an Exchange mailbox, you can allow others within your Exchange organization to access folders in your Exchange mailbox, including your calendar. You can use Microsoft Outlook to share your mailbox folders and to access others' mailbox folders that have been shared with you.
Outlook allows two types of sharing:
* Folder permissions: This type of sharing allows selected others to view the contents of a specified folder, but does not allow others to send email on your behalf. When setting up folder permissions, you can determine exactly how much access a given person has to your folder, choosing from nine roles with different permissions:
o Owner: Allows full rights to the mailbox, including assigning permissions; you should not assign this role to anyone
o Publishing Editor: Can create, read, edit, and delete all items, and create subfolders
o Editor: Can create, read, edit, and delete all items
o Publishing Author: Can create and read items, create subfolders, and edit and delete items they've created
o Author: Can create and read items, and edit and delete items they've created
o Nonediting Author: Can create and read items, and delete items they've created
o Reviewer: Can read items
o Contributor: Can create items
o None: Gives no permissions for the selected accounts on the specified folder
* Delegates: You can also designate delegates, who can have different permissions but also the additional ability to send email on your behalf. By default, a delegate has Editor permissions on the Calendar and Tasks folders.
Setting folder permissions in Outlook
First, you need to give the other person access permission to both the mailbox and the specific folder in the mailbox. Assign permissions along the entire path down to the folder you want to share; for example, if you want others to have access to a subfolder in your Inbox, you need to assign permissions to the mailbox folder, the Inbox folder, and the subfolder. To set permissions on folders:
1. Open Outlook, and find the Folder List. If you don't see the Folder List, from the Go (Outlook 2007 and Outlook 2003) or View (Outlook 2002 and earlier) menu, click Folder List. Then, from the Folder List, right-click the folder you wish to share (this could be your mailbox, Inbox, or calendar, or a subfolder).
2. From the menu that appears, select Properties, and then click the Permissions tab.
Note: If you do not see the Permissions tab, you probably have Personal Folders set as your default delivery location. In order to grant permissions, set the default delivery location to your Microsoft Exchange mailbox. See In Microsoft Outlook, why is my Exchange email disappearing from my Inbox at work after I read it at home?
3. Click Add... , and select the people to whom you wish to grant permissions. After each selection, click Add-> . When you are done, click OK.
4. You can now select which permissions to grant. If you wish to grant only the ability to view items in this folder, assign the role of Reviewer. For more on permissions, see the list above.
To grant permissions, select a name from the box beneath "Name:" and "Permissions:", and then from the drop-down menu beside "Permission Level:" or "Role:", make your selection. You can also create custom permissions by making selections from the checkboxes and radio buttons within the "Permissions" area. Once you've finished making your selections, click Apply, and then OK.
Important: In the list under "Name:", the group called "Default" includes everyone at Indiana University who has an Exchange account. Under normal circumstances, you should not assign permissions to it; leave it set to None. If you grant any permissions or assign a role to it, you are granting those permissions to everyone with an IU Exchange account.
5. Those to whom you have granted permissions now need to set up Outlook to view your folders.
Subscribe to:
Posts (Atom)