Showing posts with label Microsoft Outlook. Show all posts
Showing posts with label Microsoft Outlook. Show all posts

18 August 2024

Add entries to a user's Outlook Trusted and Blocked senders

To add "contoso.com" and "fabrikam.com" to jsmith@example.com's Outlook Trusted Senders list, and add "jane@adatum.com" to their Blocked Senders list, without affecting existing entries:

Set-MailboxJunkEmailConfiguration -Identity jsmith@example.com -TrustedSendersAndDomains @{Add="contoso.com","fabrikam.com"} -BlockedSendersAndDomains @{Add=jane@adatum.com}

To view the user's list of Trusted Senders:

(Get-MailboxJunkEmailConfiguration jsmith@example.com).TrustedSendersAndDomains

And to view Blocked Senders:

(Get-MailboxJunkEmailConfiguration jsmith@example.com).BlockedSendersAndDomains

20 April 2010

Disable 'programmatic access' security in Outlook

When certain software uses MAPI to send an email via Outlook, a warning message appears. Fair enough - the likelihood that the average Windows computer is infected with spam-generating malware is pretty high. So be thankful, dear user, that the message also has an in-built delay, preventing you from closing the dialog window until Microsoft decides you're ready. It's also in your best interests that the warning appears every fucking time.

Perhaps the friendly Trust Center will let us disable the warning? Sure - but only if you're the administrator. Then perhaps the Outlook Group Policy object will let us disable the warning? The option's there - but it doesn't work.

Who can save us from this mess? Yep. You've probably got a shortcut key set up for it by now.

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\Outlook\Security

(12 is for Outlook 2007. Change it to 14 for Outlook 2010, 15 for Outlook 2013 etc.)

For each user, create DWORDs here with the value "2" and names as follows:

PromptSimpleMAPISend
PromptSimpleMAPINameResolve
PromptSimpleMAPIOpenMessage

e.g.:


Credit to trafsta (yes, you have to register - no, don't bother).

07 November 2009

Automatic, hidden BCC in Outlook

Of course, Outlook doesn't include an easy way to achive this.

Note that this is a hidden BCC. The user will see a blank BCC field in the compose window. If the user needs the option to remove the automatic BCC, you can futz around with custom forms - but good luck with that.
  1. Tools > Macro > Visual Basic Editor
  2. Expand project to find "ThisOutlookSession".
  3. Choose "Application" in the first drop-down, "ItemSend" in the second.
  4. Between the Private Sub and End Sub lines, paste the following code, then save.
 Dim objRecip As Recipient
Dim strBcc As String
On Error Resume Next

' #### CHANGE THE EMAIL ADDRESS BELOW ####
strBcc = "user@example.com"

Set objRecip = Item.Recipients.Add(strBcc)
objRecip.Type = olBCC
Set objRecip = Nothing
Credit to mkizer.

Unblock Outlook attachment client-side

There's a pretty long list of file types that Outlook blocks. The recipient can ask the sender to re-send the blocked attachment inside a ZIP file or with a different extension (like .txt or .pdf). You can also climb into the registry editor to access a blocked attachment:

HKEY_CURRENT_USER\Software\Microsoft\Office\[version]\Outlook\Security

Make a string named "Level1Remove" containing the extensions to unblock (e.g. ".exe;.bat").

Credit(?) to Microsoft.

05 November 2009

Change Outlook signature setting from the Registry

If you need to change which signature is used in Outlook without accessing Outlook directly, you can use this registry key:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676\00000002

There, you can change the value of "New Signature" and "Reply-Forward Signature".

Credit to qwertz (payment required).

02 November 2009

Rename additional mailboxes in Outlook

Outlook can open additional Exchange mailboxes when configured with an Exchange account. Microsoft's grand wisdom led them to store (and cache) the names of the mailboxes in the end user's registry. They also couldn't be bothered being consistent, so mailboxes randomly appear as either "Mailbox - John Doe", or just "John Doe". Not content with these problems, they also made sure additional mailboxes in Outlook always appear in alphabetical order, with no way for the user to rename or re-order them.

A bit of ugly registry editing lets you rename the mailboxes, at least:

1. Fire up ye olde Registry Editor.
2. Fight your way to HKEY_CURRENT_USER\Software\Microsoft\Windows
NT\CurrentVersion\Windows Messaging Subsystem\Profiles\(the profile).
3. Go through each key, looking for values with the name "001f3001". You'll find one for each mailbox (plus a few for other random crap).
4. Edit the value as desired.
5. Open Outlook, admire your perseverance - and curse Microsoft (again).

Credit to Ruben for this information.