Making Exchange Public Folders Store Mail Items as E-Mail

Tips  Tagged , No Comments »
Posted by Jeff Knapp

I keep coming up against this, and I keep forgetting it, so I figured I'd write it down here for all of our benefit.

Exchange 2003 allowed us to easily mail enable public folders, so something sent to info@domain.invalid would go to a public folder where any number of staff could monitor the mailbox.

However, by default, the mail is stored in the Public Folder as a NOTE and not an E-MAIL (for the geeks in the audience IPM.POST vs. IPM.NOTE)

To make the public folder store incoming mail as emails, we need to make a quick registry change. This is all outlined in MS KB 817809.

Go to

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeIS\<ServerName>\Public-<GUID>

And create (or edit) the key:

Value name: Incoming defaults to IPM.Note
Value type: DWORD
Value data: 1

Setting the value to 1 (true) stores things as IPM.NOTE (which is what we want). Setting the value to 0 sets it back to saving things as a post.

Filtering Mailing Lists using Access and Outlook

Programming, Tips  Tagged , , , 14 Comments »
Posted by Jeff Knapp

In what is becoming a series, we'll further tweak our code to allow for filtering of the query.

In the original code, we open a query directly as a recordset. This fails if the query requires some parameters.

(I'm not going to demonstrate a way to get user input and use that as the parameter. You should be able to copy and paste the code from the original user input sections of the code and modify as needed.)

To start, let's discuss the query and it's parameter.

In our original code, the query was just pulling a list of email addresses. For this, let's filter that list of addresses by domain.
Read the rest of this entry »

Using Access and Outlook to Send To Mailing Lists

Productivity, Programming  Tagged , , , , 18 Comments »
Posted by Jeff Knapp

Perhaps the most popular article on the site explains how to send email to a bunch of people using Access and Outlook.

It has garnered its fair share of comments and emails, and one came in today that I figured I'd share and then elaborate on.

The mail reads (in part):

I have a following question: How to modify this module to be able to send messages to various mailing lists that I predefine in respective queries? In other words, I have in my database 3 categories of customers (in 3 different queries) andI want to address them with a different message. Do I need to create 3 macros running 3 modules each referring to a separate query with a given category of customers or is there another way to do it?

You don't have to create modules for each list, you just need to be able to tell the macro which query you want to use before running it.
Read the rest of this entry »

Importing and Exporting Mail and User Accounts in Outlook 2007

Productivity, Tips  Tagged , , , 18 Comments »
Posted by Jeff Knapp

Outlook 2007 did away with the export account information that was present in earlier editions. So, if a user with one account moves machines, it's often faster to just recreate the account on the new machine. However, if a user has 8 accounts (like one did today) it's time to find a better way.

That better way is hidden the registry.

On The Old Machine

Outlook 2007 is nice enough to put all of its account info for each profile under one key.

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\

So, first off, close Outlook if it's running.

To export your Outlook account information, we just need to export that magic key.

  1. Open Registry Editor.
  2. Select the key that you want to save as a file.
  3. On the File menu, click Export.
  4. In the Export Registry File dialog box, in Save in, click the drive, folder, or network computer and folder where you want to save the hive.
  5. In File name, enter a name for the key. (outlook_profile.reg would work great.)
  6. In Save as type, make sure it's set as Registration Files (*.reg)
  7. Click Save.

Caveats: Every profile on your system under your logon will be exported.

To move your old mail, you'll need to copy your PST file to the new machine.

  1. Click Start, Run
  2. Type %userprofile%\local settings\application data\microsoft\outlook
  3. Click OK
  4. In that folder there will be some *.pst files. Copy (don't move!) them to a removable drive or a network share. The one you're most likely concerned with is outlook.pst

On The New Machine

First, we need to import the profile information.

  1. Double-click the file (outlook_profiles.reg) you exported on the old machine. That will import the new information into the registry. (Simple!)

Next, we need to get your data file back over.

  1. Click Start, Run
  2. Type %userprofile%\local settings\application data\microsoft\outlook
  3. Click OK
  4. Copy (don't move!) the *.pst files you found on the old machine. The one you're most likely concerned with is outlook.pst

Lastly, we need to set Outlook to use the profile from the old machine.

  1. Open Control Panel.
  2. Open the Mail applet.
  3. Click on the Show Profiles button.
  4. Choose the profile name that matches the one you used to use from the "Always use this profile" dropdown.
  5. Click OK.

Now, when you open Outlook, you should have your old mail and the mail accounts all set up and ready to go.

Passwords

Outlook on the new machine mightwill ask you for passwords the first time it does a send/receive on all non-Exchange accounts.

If you know the passwords, awesome. If not, you'll need to find them out, and we go back to the old machine to do so.

What we need to do is peer behind the dots that Microsoft uses in their password boxes. To do so, we need a piece of freeware that will do that for us.

Passware offers a utility, Asterisk Key, which will do the job.

  1. Download, install and run the tool on the old machine using this link.
  2. Open Notepad.
  3. Open Outlook 2007.
  4. Click Tools, Account Settings.
  5. Double-click the account you don't know the password to.
  6. Go into Asterisk Key and click the RECOVER icon on the toolbar.
  7. The tool will reveal your password for that account. Click the COPY LINK next to the revealed password.
  8. PASTE the password into your notepad document.
  9. Repeat Steps 5-8 as necessary.
  10. Save the Notepad document so you can move it to the new machine.
  11. At the new machine, paste the passwords from the Notepad document into Outlook.

That oughta do it.

Our Favorite Tools: Google Calendar

Productivity  Tagged , , , , No Comments »
Posted by Jeff Knapp

Not only am I a sysadmin, but I'm also a family man. I've spoken of my love for the Exchange connector which syncs my Treo with my Outlook calendar; but that doesn't help my wife who would like to know where I am too...

Enter Google Calendar.

Both my wife and I have Google acounts which allows us to share our calendars. I can find out where she is and she can find out where I am. It's a nice complement to the calendar that's stuck on the fridge when I'm not near the fridge.

However, it's been a hassle double-entering my stuff.. once in Outlook and once in Google Calendar (or GCal for you hipsters).

Companion Link software, maker of many fine sync products, had an Outlook to GCal sync program, and I ponied up the $20 or $30 for it, and it worked for awile... but things got horribly out of synch and I ended up with like 7 copies ofbirthdays and other recurring appointmentson my Outlook calendar, so I sidelined CompanionLink and basicially let GCal wither on the vine.

But no longer! Google themselves came out with an Outlook / GCal sync tool, and so far, I like it a lot. It's a small app that sits in your tray and it snychs up your calendars on a given schedule. (Default is every 120 minutes.)

Whaty's also nice is it allows for one-way sync... so I push my Outlook calendar out to my GCal and my wife knows (within two hours) where I'll be.

Handy!


WordPress Theme & Icons by N.Design Studio. WPMU Theme pack by WPMU-DEV.
Entries RSS Comments RSS Log in