When you open file attachments that are considered safe, Outlook places these attachments in a sub-directory in your Temporary Internet Files folder. As Outlook does this, it first examines the registry to determine if the OLK folder has been created yet. If yes, it drops the files into the folder. If no, it creates that folder. Outlook adds the sender's email address to the blocked senders list. Note: You can restore any of the mail that is in the Junk E-mail folder. Click the message that you want to move to the Inbox folder, and then on the Home tab, click Junk, and then click Mark as Not Junk.
-->Open the temp folder in Outlook. You can do as follows to open the temp folder in Outlook as follows. Press the Windows + R keys at the same time to open the Run dialog box, and type regedit into the Open text box. The subfolder name Outlook creates (after opening the first attachment) is located with the Temporary Internet Files folder and contains a random element. The top-level folder is called “Content.Outlook” and then has a subfolder which is named with with 8 random numbers and letters. Added support for Outlook 2010, fixed a bug and did some fine-tuning. Outlook 2010 is now properly recognized (1.0 contained only preliminary support for Outlook 2010). Fixed a bug where a message box could pop-up when using OutlookTempCleaner in silent mode (via a logon script for example) and no version of Outlook is installed on that system.
Important
This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base: 322756 How to back up and restore the registry in Windows
Summary
Microsoft Outlook supports the logging of the communications that occur between Outlook and various types of email servers. These logs can be helpful when you troubleshoot problems that affect the transfer of messages between Outlook and the email server.
Outlook can log the communications among Microsoft Exchange, Post Office Protocol version 3 (POP3), Simple Mail Transport Protocol (SMTP), Internet Messaging Access Protocol (IMAP), and Outlook.com servers.
More Information
Temp Files Outlook 2016
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
How to enable logging
To have us enable the mail logging option for you, go to the 'Here's an easy fix' section. If you prefer to enable the mail logging option yourself, go to the 'Let me fix it myself' section.
Enable logging
To enable logging, follow the steps for your version of Outlook.
Microsoft Outlook 2019, Microsoft Outlook 2016, Microsoft Outlook 2013, Microsoft Outlook 2010, and Outlook for Office 365
- 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 then restart Outlook.
Microsoft Outlook 2007 and earlier versions
- On the Tools menu, click Options.
- Click the Other tab.
- Click the Advanced Options button.
- Select the Enable mail logging (troubleshooting) check box.
- Click OK to save the setting, and then return to the main Options screen.
- Click OK.
- Exit and then restart Outlook.
Outlook Connector in Outlook 2010
Enable logging
To enable logging for Outlook Connector version 14 in Outlook 2010, configure the following registry data.
- Subkey: HKEY_CURRENT_USERSoftwareMicrosoftOffice14.0OutlookOptionsMail
- DWORD: EnableLogging
- Value: 1
- Subkey: HKEY_CURRENT_USERSoftwareMicrosoftMicrosoft Office Outlook Connector
- DWORD: TracingLevel
- Value: 3
Disable logging
To disable logging for Outlook Connector version 14 in Outlook 2010, configure the following registry data.
Subkey: HKEY_CURRENT_USERSoftwareMicrosoftOffice14.0OutlookOptionsMail
DWORD: EnableLogging
Value: 0
Subkey: HKEY_CURRENT_USERSoftwareMicrosoftMicrosoft Office Outlook Connector
DWORD: TracingLevel
Value: 0
Logging results
When you enable logging, the following registry data is configured.
Subkey: HKEY_CURRENT_USERSoftwareMicrosoftOffice1x.0OutlookOptionsMail
DWORD: EnableLogging
Values: 1 = logging enabled, 0 = logging disabled
Note
In the subkey, <1x.0> represents the program version number ('16.0' = Outlook 2019, Outlook 2016 or Outlook for Office 365, '15.0' = Outlook 2013, '14.0' = Outlook 2010, '12.0' = Outlook 2007).
After you enable logging, all communications that occur between Outlook and the email server are written to a log file.
Important
You must disable logging after the logs capture the failed communication to the server. If you do not disable logging, the logs continue to grow indefinitely.
Log file locations
The log files are formatted as plain text. To find the log files, look in the following locations, depending upon your version of Outlook and also your version of Windows, if you are running Outlook 2007 or an earlier version.
Microsoft Outlook 2019, Outlook 2016, Outlook 2013, Outlook 2010 and Outlook for Office 365
POP3, SMTP, MAPI logs
The POP3, SMTP, and MAPI transport types are written to a single log file in the following location:
%temp%Outlook LoggingOpmlog.log
Note
The Opmlog.log file also contains some information that is related to the Outlook Connector.
IMAP logs
The IMAP transport type is written to the following location:
%temp%Outlook LoggingIMAP-usernamedomainname-date-time.log
For example: IMAP-user1wingtiptoyscom-03_23_2010-12_49_31_798.log
Outlook Connector v. 14 log
The Outlook Connector version 14 log file is written to the following location:
%temp%OLC LoggingOLC-smtp_address-date-time.log
For example: OLC-guidopica@contoso.com-03_23_2010-16_13_10_803.log
For Outlook 2007 and earlier versions
POP3, SMTP, MAPI logs
The POP3, SMTP, and MAPI transport types are written to a single log file in the following locations.
- Windows XP and Windows 2000 C:Documents and Settingslogon nameLocal SettingstempOPMLOG.LOG
- Windows 98, Windows 98 Second Edition, and Windows Millennium Edition (Me) C:WindowstempOPMLOG.LOG
IMAP logs
Temporary Files Outlook 2016 For Mac Osx
The IMAP transport type is written to a log file in the following locations.
Windows 2000
C:Documents and Settingslogon nameLocal SettingstempOutlook Logging<NameOfIMAPServer>IMAP0.LOG, IMAP1.LOG, and so on
Windows 98, Windows 98 Second Edition, and Windows Me
C:WindowstempOutlook Logging<NameOfIMAPServer>IMAP0.LOG, IMAP1.LOG, and so on
Outlook.com logs
The Outlook.com log file is written to the following locations.
Windows 2000
C:Documents and Settingslogon nameLocal SettingstempOutlook LoggingHotmailHotmail0.LOG, Hotmail1.LOG, and so on
Windows 98, Windows 98 Second Edition, and Windows Me
C:WindowstempOutlook LoggingHotmailHotmail0.LOG, Hotmail1.LOG, and so
Notes
- IMAP and Outlook.com accounts generate one log for each Send or Receive action that you perform on these accounts. (The log files are named Hotmail0.LOG, Hotmail1.LOG, etc.)
- If you have multiple Outlook.com accounts configured, the folders in which the logs are stored are named Hotmail, Hotmail 1, Hotmail 2, and so on.
- You may have to close Outlook so that the logs can be written to the log files.
If you have hard deleted (or namely permanently deleted) emails in Microsoft Outlook 2016, 2013 or any other Outlook version, and now you want to recover the deleted items. Take it easy. You can recover deleted emails in Outlook from the Deleted Items folder or by using an email recovery tool - EaseUS Data Recovery Wizard.
By doing any one of the following things, you will delete the emails in Outlook in a permanent way. Or, you may call it a 'hard deleted'.
- Empty the 'Deleted Items' folder for good.
- Archive old emails using the settings 'Clean out items folder older than xx months'.
- Use shift + delete keys to delete the selected email files, folders or subfolders.
Workable Solutions | Step-by-step Troubleshooting |
---|---|
Method 1. Recover in Outlook Trash | Log in Outlook > Click 'Deleted Items' > Click 'Recover Deleted Items from Server'...Full steps |
Method 2. Recover with Outlook Recovery Software | Download Outlook recover software > Choose a location to scan > Select emails to recover...Full steps |
After those operations, can you recover permanently deleted emails in Outlook? The answer is YES. There are two exclusive solutions to make you through. One is recovering deleted emails in Outlook from the Deleted Items folder, and the other is using EaseUS Data Recovery Wizard, hard drive recovery software to recover permanently deleted Outlook emails on the local drive.
Outlook 2016 For Mac Standalone
How to Recover Deleted Emails in Outlook 2018/2016/2013
When you permanently delete items from Outlook, in fact, you didn't really lose this data. Microsoft Outlook still keeps these emails in somewhere else. They are just hidden from normal, for at least a few weeks or even much longer. So you have the chance to recover permanently delete emails in Outlook. Follow the detailed instructions below.
Step 1. Log in to your Microsoft Outlook account, go to the email folder list and click 'Deleted Items'.
Note: If you don't see the Deleted Items folder, but instead see the Trash folder, then your account doesn't allow you to recover an item that's no longer in the Deleted Items folder.
Step 2. Go to the Home screen, and then click 'Recover Deleted Items From Server'.
Note: If Recover Deleted Items From Server isn't there, your account doesn't support recovering an item that's no longer in your Deleted Items folder.
Step 3. Then, Microsoft will recover permanently deleted emails from their exchange server and list them for you. Select the item you want to recover, click 'Restore Selected Items' and then click 'OK'.
Step 4. When you recover deleted emails from the Recoverable Items folder, they are moved to the Deleted Items folder. You can find them there and then move it to Inbox or another folder.
How to Recover Permanently Deleted Outlook Emails with Email Recovery Software
There are two types of Outlook data files used by Outlook, .pst and .ost. EaseUS Data Recovery Wizard supports both PST file recovery and OST file recovery. By locating the files of the mentioned formats in the scan results, you can quickly restore the emails that you've deleted on a local drive; even the PST/OST files are permanently gone.
Apart from the email recovery, EaseUS data recovery tool is also good at photo recovery, video and audio recovery, lost Word document recovery (as well as Excel & PPT), as well as other files restoring caused by accidental deletion, hard drive damage/formatting, OS crash, or virus attack.
Step 1. Choose the drive X: where your lost email files were saved, and click 'Scan'.
Step 2. The software will initiate a scanning process immediately. The larger the drive is, the longer time it takes. Wait patiently until the scan is complete. To quickly locate the email files, you can click 'Filter' -> 'Emails', or directly search a specified file extension, such as .pst, .ost, etc.
Step 3. In the filtered results, choose the desired email files and click 'Recover'.
Import PST/OST files into Outlook
Outlook 2016 For Mac Repair
To retrieve your email to Outlook, do as the following steps.
1. Start Outlook. Go to 'File' > 'Open & Export' > 'Import/Export' > 'Import from another program or file' > 'Open Outlook Data File'.
2. In the navigation pane, drag and drop the emails, contacts, other folders from .pst file to your existing Outlook folders.