Microsoft Outlook supports the logging of the communications that occur between Outlook and various types of e-mail servers. These logs can be helpful when you troubleshoot problems with the transfer of messages between Outlook and the e-mail server.
Outlook can log the communications with Microsoft Exchange, Post Office Protocol version 3 (POP3), Simple Mail Transport Protocol (SMTP), Internet Messaging Access Protocol (IMAP), and Hotmail servers.
How to Enable Logging
To have us enable the mail logging option for you, go to the "
Fix it for me" section. If you prefer to fix this problem yourself, go to the "
Let me fix it myself" section.
Fix it for me
To fix this problem automatically, click the
Fix it
button or link. Click
Run
in the
File Download dialog box, and follow the steps in the Fix it wizard.
Notes- This wizard may be in English only. However, the automatic fix also works for other language versions of Windows.
- If you are not using the computer that has the problem, save the Fix it solution to a flash drive or a CD and then run it on the computer that has the problem.
Then, go to the "
Did this fix the problem?" section.
Let me fix it myself
To enable logging, follow these steps:
For Microsoft Outlook 2010:
- On the File tab, click Options.
- In the Outlook Options dialog box, click Advanced.
- In the Other section, select the Enable troubleshooting logging (requires restarting Outlook) check box, and then click OK.
- Exit and restart Outlook.
Note When you enable logging, the following registry data is configured by Outlook.
Key: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Options\Mail
DWORD: EnableLogging
Values: 1 = logging enabled, 0 = logging disabled
For Outlook 2007 and earlier versions:
- On the Tools menu, click Options.
- Click the Other tab
- Click the Advanced Options button
- Click to select the Enable mail logging (troubleshooting) check box.
- Click OK to save the setting, and then return to the main Options
screen
- Click OK.
- Quit and restart Outlook.
From this point on, every time Outlook sends or receives
messages, the communication that occurs between Outlook and the e-mail
server is written to a log file.
NOTE: It is very important to disable logging after the logs have
captured the failed communication with the server. If you do not disabled
logging, the logs continue to grow indefinitely.
Log File Locations
The log files are in plain text format and are in the following locations.
For Outlook 2010:
- On the Start menu, click Run.
- Type the following text, and then click OK.
%temp%
- POP3 SMTP, MAPI logs
%temp%\Outlook Logging\Opmlog.log
The Opmlog.log file also contains some information that is related to the Outlook Connector. - IMAP logs
%temp%\Outlook Logging\IMAP-usernamedomainname-date-time.log
For example: IMAP-user1wingtiptoyscom-03_23_2010-12_49_31_798.log - Outlook Connector version 14 log
To enable logging for the Outlook Connector version 14, configure the following registry data:
Key: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Options\Mail
DWORD: EnableLogging
Value: 1
Key: HKEY_CURRENT_USER\Software\Microsoft\Microsoft Office Outlook Connector
DWORD: TracingLevel
Value: 3
%temp%\OLC Logging\OLC-smtp_address-date-time.log
For example: OLC-guidopica@contoso.com-03_23_2010-16_13_10_803.log
To disable logging for the Outlook Connector version 14, configure the following registry data:
Key: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Options\Mail
DWORD: EnableLogging
Value: 0
Key: HKEY_CURRENT_USER\Software\Microsoft\Microsoft Office Outlook Connector
DWORD: TracingLevel
Value: 0
For Outlook 2007 and earlier verions:
- POP3, SMTP, MAPI
The POP3, SMTP, MAPI transport
types are written to a single log file in the following locations.
On Microsoft Windows XP, and Microsoft Windows 2000:
C:\Documents and Settings\<logon name>\Local Settings\temp\OPMLOG.LOG
On Microsoft Windows 98, Microsoft Windows 98 Second Edition, and Microsoft Windows Millennium Edition (Me):
C:\Windows\temp\OPMLOG.LOG
- IMAP Logs
On Windows 2000:
C:\Documents and Settings\<logon name>\Local Settings\temp\Outlook Logging\<NameOfIMAPServer>\IMAP0.LOG, IMAP1.LOG, etc
On Windows 98, Windows 98 Second Edition and Windows Millennium Edition:
C:\Windows\temp\Outlook Logging\<NameOfIMAPServer>\IMAP0.LOG, IMAP1.LOG, etc
- Hotmail Logs
On Windows 2000:
C:\Documents and Settings\<logon name>\Local Settings\temp\Outlook Logging\Hotmail\Hotmail0.LOG, Hotmail1.LOG, etc
On Windows 98, Windows 98 Second Edition and Windows Millennium Edition:
C:\Windows\temp\Outlook Logging\Hotmail\Hotmail0.LOG, Hotmail1.LOG, etc
NOTES:
- IMAP and Hotmail accounts generate one log for each
Send/Receive action that you perform on these accounts (the log files are named
Hotmail0.LOG, Hotmail1.LOG, etc.).
- If you have multiple Hotmail accounts configured, the
folders where the logs are placed are named Hotmail, Hotmail 1, Hotmail 2,
etc.
- You may have to close Outlook for the logs to be written to
the log files.
Did this fix the problem?
- Check whether the problem is fixed. If the problem is fixed, you are finished with this section. If the problem is not fixed, you can contact support
(http://support.microsoft.com/contactus)
.
- We would appreciate your feedback. To provide feedback or to report any issues with this solution, please leave a comment on the "Fix it for me
(http://blogs.technet.com/fixit4me/)
" blog or send us an
email
(mailto:fixit4me@microsoft.com?Subject=KB)
.