Better than ‘97
Now it’s time for Outlook 98 and Outlook 2000 to be covered. Why two at the same time? Because aside from a difference in one registry key, they are exactly the same! Outlook 98/2000 work a lot better than Outlook 97. They have multiple Internet Mail accounts support out of the box and they even allow us to add new POP3 accounts!! So let’s dive right in!
It’s sooooo much simpeler
Where Outlook 97 had all kinds of difficult and obscure registry keys and registry values, Outlook 98/2000 take the Outlook Express model and use a syntax identical to the way Outlook Express stores the accounts.
The location in the registry where the account information is stored is also the only difference between Outlook 98 and Outlook 2000. For Outlook 98 it’s stored at HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Outlook\OMI Account Manager\Accounts and for Outlook 2000 it’s stored at HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\OMI Account Manager\Accounts. That’s it. Aside from this, they’re identical.
Underneath this key are subkeys whose name is an 8 character hexadecimal number. Underneath those subkeys are the accounts Outlook has configured. The value with the name “Account Name” contains the number the next new account should use. So this is useful if you want to add a new account. Read this number, increase it by one and write it back. Remember though, this is important, that it’s a HEXADECIMAL number. I fucked up on that one at first. You won’t notice until you add a new account for the tenth time, then weird shit(™) happens.
The key with the name “Default Mail Account” contains the number for the default mail account. This is the account that will be used for sending e-mail, unless the user specifies that an e-mail should be send from another account.
An Outlook 98/2000 account
Like I said, the syntax is identical to that of Outlook Express. The following entries are possible for a POP3 account:
- Account Name: Name of the account as it appears in Outlook
- POP3 Server: Server for receiving e-mail
- POP3 User Name: Username to log into the receiving e-mail server
- SMTP Server: Server for outgoing e-mail
- SMTP Email Address: The e-mail address to use when sending e-mail (this will be the address used when the receiver replies)
- SMTP Display Name: The nice name people see from whom the mail is
These are all string values (REG_SZ). There are also a few other interesting non-string values:
Connection Type (DWORD)
A value of “1″ means the account uses the same dialer settings as Internet Explorer does. A value of “2″ means the account has it’s own dialer-entry configured (or actually a name to a dialer-entry that’d better exist). Any other value means the account will connect through the LAN.
Connectoid (string)
This is only useful if the “Connection Type” has a value of “2″, because then this key contains the name of the dialer-entry Outlook will dial when sending or receiving e-mail for this account. The key can be present even if the “Connection Type” is set to something else than “2″, it’s just ignored then.
POP3 Prompt for Password (DWORD)
A value of “1″ means Outlook will ask the user for the POP3 password when receiving the e-mail for this account. A value of “0″ means it won’t. Simple.
Adding a new account
Yes! Finally! Wiht Outlook we can now ADD NEW ACCOUNTS!
To do this, just create a new subkey like I said at the start of this article and fill in the blanks! It’s that simple. One important thing to know though, is that Outlook should be closed when you do this. There will not be any problem if you won’t, but Oulook does not automagically detect the newly entered account, so it might seem like it doesn’t work. Close, Outlook, enter the account, start Outlook and it should be there and working!
The only problem is that I don’t know how to enter the password, so set the “POP3 Prompt for Password” key to “1″ and it just asks the user, who can then choose to have Outlook remember the password.
That sums it up for Outlook 98 and Outlook 2000, next up: Outlook XP and Outlook 2003 (they are even more the same).
[Now playing: The Presidents Of The United States Of America - Stranger]