{"id":768,"date":"2013-03-21T11:05:24","date_gmt":"2013-03-21T11:05:24","guid":{"rendered":"http:\/\/blogs.silicontechnix.com\/?p=768"},"modified":"2013-03-25T07:32:15","modified_gmt":"2013-03-25T07:32:15","slug":"growl-notifications-for-msoutlook-any-version","status":"publish","type":"post","link":"https:\/\/blogs.silicontechnix.com\/?p=768","title":{"rendered":"Growl Notifications for MSOutlook (Any Version)"},"content":{"rendered":"<p>Growl is very good tool for local and remote notifications, we can compare it with libnotify in Linux plus growl is already available on multiple platforms, So now I want to use it with Microsoft Outlook to notify me when new email arrives, but unfortunately there is no Add-on available for growl after Outlook 2007 onwards, so I did the work for myself, basically it is too simple to write a procedure in VBA for Office (Macros) but the only drawback is that you need to allow macros (security involved) OR sign it with Digital Certificate (money involved)<!--more--><\/p>\n<p>So less talk more action \ud83d\ude42 , Install Growl for Windows from this <a href=\"http:\/\/www.growlforwindows.com\/\">link<\/a>.<br \/>\nOpen outlook and Press Alt+F11 to open Visual Basic for Application (VBA) Editor<\/p>\n<pre class=\"brush:vb\">Private Sub Application_NewMailEx(ByVal EntryIDCollection As String)\r\n    Dim varEntryIDs\r\n    Dim objItem\r\n    Dim i As Integer\r\n    Dim MailIcon As String\r\n    dim GrowlNotifyApp As String \r\n    GrowlNotifyApp = \"\"\"C:\\Program Files (x86)\\Growl for Windows\\growlnotify.exe\"\"\"\r\n    varEntryIDs = Split(EntryIDCollection, \",\")\r\n    For i = 0 To UBound(varEntryIDs)\r\n        Set objItem = Application.Session.GetItemFromID(varEntryIDs(i))\r\n        Set a = Application.Session.GetItemFromID(varEntryIDs(i))\r\n        'Sending notification to Growl\r\n  'Register the application with Growl, Open cmd run the following command, if growl is installed at default location\r\n  'C:\\Program Files (x86)\\Growl for Windows&gt;growlnotify.com \/a:Outlook \/r:\"New Message\" \/ai:C:\\Mail.png .\r\n        ' Send a New Message notification\r\n         Shell (GrowlNotifyApp + \" \/a:Outlook \/n:\"\"New Message\"\" \" + _\r\n        \"\/t:\"\"New mail from \" + objItem.SenderName + \"\"\" \" + _\r\n        \"\"\"\" + objItem.subject + \"\"\"\")\r\n    Next\r\nEnd Sub<\/pre>\n<p>That&#8217;s it, you just need to download the Mail icon from this <a href=\"https:\/\/blogs.silicontechnix.com\/wp-content\/uploads\/2013\/03\/Mail.png\">link<\/a> and save it at C:\\ (you can change the location on your drive and can change the icon but update the line \/ai:C:\\Mail.png)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Growl is very good tool for local and remote notifications, we can compare it with libnotify in Linux plus growl is already available on multiple platforms, So now I want to use it with Microsoft Outlook to notify me when new email arrives, but unfortunately there is no Add-on available for growl after Outlook 2007 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"no","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[12,95,131],"tags":[338,337,344,343,341,339,340,342],"class_list":["post-768","post","type-post","status-publish","format-standard","hentry","category-programming","category-system-administration","category-tools","tag-gntp","tag-growl","tag-macro","tag-macros","tag-notification","tag-office","tag-outlook","tag-vba"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p12j6H-co","_links":{"self":[{"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/posts\/768","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=768"}],"version-history":[{"count":12,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/posts\/768\/revisions"}],"predecessor-version":[{"id":783,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=\/wp\/v2\/posts\/768\/revisions\/783"}],"wp:attachment":[{"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=768"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=768"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.silicontechnix.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}