Posts

Showing posts with the label outlook

Outlook VBA Macro Scripting Example #1

Image
 First Example of Outlook VBA Scripting in Application->Startup Option Explicit Private WithEvents inboxItems As Outlook.Items Private Sub Application_Startup () Dim outlookApp As Outlook.Application Dim objectNS As Outlook.NameSpace Set outlookApp = Outlook.Application Set objectNS = outlookApp.GetNamespace( "MAPI" ) Set inboxItems = objectNS.GetDefaultFolder(olFolderInbox).Items End Sub Private Sub inboxItems_ItemAdd ( ByVal Item As Object ) On Error GoTo ErrorHandler Dim Msg As Outlook.MailItem Dim MessageInfo Dim Result If TypeName(Item) = "MailItem" Then MessageInfo = "" & _ "Sender : " & Item.SenderEmailAddress & vbCrLf & _ "Sent : " & Item.SentOn & vbCrLf & _ "Received : " & Item.ReceivedTime & vbCrLf & _ "Subject : " & Item.Subject & vbCrLf & _ ...

Outlook Application Error - Faulting module name: OUTLMIME.DLL

Image
 Outlook Application Error and Crash When Account is IMAP When using an Outlook email account that is IMAP, connected to COX internet, you try to delete messages or open messages in the trash, the application freezes up and crashes.  Re-installing Office does not remedy the situation, reinstalling the IMAP email profile does not help either.  The windows event log shows this: The solution is to edit the user's email profile and add "Inbox" to the Root folder path. In the account settings, under "More Settings..." in the Advanced Tab, you will find this: Insert "Inbox" into the "Root Folder Path" like this; Furthermore, Run the ScanPST.exe inbox repair tool to verify and repair the .OST file.

Office 365 Rollback

Office 365: "C:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update user updatetoversion=16.0.12827.20470 Office 2016: "C:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update user updatetoversion=16.0.12827.20470 See the Reddit Post https://www.reddit.com/r/sysadmin/comments/hrq0mn/outlook_immediately_crashing_on_open_after/fy5nnx2/

Outlook 2013 Signature Pane and Stationary Pane Not Working [SOLVED, no kidding!]

Image
Fixing the Dreaded Outlook 2013 Signature Pane and Stationary Pane Error On Windows 7, 64bit with Office 2013, 64 bit, you also get event 27 in your Application event log "Outlook Error" with no real details, and the Outlook signature pane does not work anymore, plus stationary and fonts will not open up anymore. It is caused by a missing registry key called LocalServer32 and its associated REG_SZ keys.  Once you add the missing registry keys, you have to reboot your computer to see it working again.  Don't apply this fix to Office 2016 or Office 365! Furthermore, only apply this fix to 64 bit Office 2013. For 32-bit installation: HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{0006F03A-0000-0000-C000-000000000046}\LocalServer32 For 64-bit installation HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID\{0006F03A-0000-0000-C000-000000000046}\LocalServer32 Edit the registry and add the LocalServer32 and Default keys containing the path to Outlook.exe.. you may jus...