outlook-2013

How to get the CRM Entity Name from the Object Type Code of a RegardingID?

拟墨画扇 提交于 2019-12-06 07:20:53
So it seems that it is a fairly common question in CRM to try get the object type code when you have an entity name. But since I always have to do things the hard way, I have the reverse task: I have the object type code, and need to get the entity name. In general, the ultimate task is to take the the CRM regarding information on an email, and use it to query CRM for additional info. I can get the regardingID and the object type code easily. And for standard entities I can use a hardcoded lookup to get an entity name. But for custom entities, this won't work, as the object type code can be

Programmatically set Outlook 2013 Signature Defaults?

坚强是说给别人听的谎言 提交于 2019-12-04 23:45:06
问题 Is it possible to programmatically set the Outlook 2013 Default Signature settings? We can generate the user's signature OK but would like to also set the signature to appear by default in user's emails: The setting itself seems to be tucked-away in the Registry under an Outlook profile: HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6677\00000002 Reg Values: New Signature Reply-Forward Signature ... (which have binary data, presumably

How to create a dynamic submenu in contextmenu for outlook (VSTO)

浪子不回头ぞ 提交于 2019-12-04 22:13:21
I have a ribbon xml where I want to add something similar as in the picture. I tried create a button and connect the menu to the button but I never got the arrow indication there is a underlying menu. I have no faith at all in that button is the correct element to use. Been googling for hours now and would be happy if anyone can send me in some kind of direction. There is no problem for me to add the element in the context menu, the problem is the dynamic menu linked to the first element. The control type you're looking for is dynamicMenu Here is the ribbon XML: <dynamicMenu id="mycustomid"

HTML email - gaps between images in Outlook 2013

时光毁灭记忆、已成空白 提交于 2019-12-04 22:06:36
问题 I'm composing an HTML email which looks fine in every major email client except Outlook 2013, which is adding vertical gaps between my image slices. I unfortunately don't have Outlook 2013 installed on my computer so it's making it hard to test, but a screenshot from my client suggests that it looks like this - My code is available here - HTML version. I have no idea what more I can do to get rid of the gaps - I've set line-height for the tds and images to zero, I've set the images to display

Visual Studio setup project: run CustomActions/process as current user not system account

家住魔仙堡 提交于 2019-12-04 14:13:23
问题 I'm using a setup project in visual studio 2010 for a c# outlook add-in (Office 2010/2013) and an other standalone tool. During the installation I kill all instances of outlook, afterwards I want to restart an instance of outlook. In my addin project I added an installerclass and added an InstallEventHandler(AfterInstallEventHandler) where I execute Process.Start("Outlook"); While the same command simply opens Outlook in an other compiled class, in the context of the installer outlook opens

Programmatically set Outlook 2013 Signature Defaults?

风流意气都作罢 提交于 2019-12-03 16:29:05
Is it possible to programmatically set the Outlook 2013 Default Signature settings? We can generate the user's signature OK but would like to also set the signature to appear by default in user's emails: The setting itself seems to be tucked-away in the Registry under an Outlook profile: HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6677\00000002 Reg Values: New Signature Reply-Forward Signature ... (which have binary data, presumably encoding the HTML file name/reference). Not sure if I can use the Outlook Object Model to access and set

Outlook 2013 rendering issue: nested table truncating adjacent text

大兔子大兔子 提交于 2019-12-03 09:19:50
In developing html email newsletters, I often use a structure similar to the following: <table width="244" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffcc"> <tr> <td> <table border="0" align="left"> <tbody> <tr> <td bgcolor="#FFCCCC">text in the table cell.<br>and another line of text.<br>and a third line.</td> </tr> </tbody> </table> Hello. This is sample text. This is another sentence. Hello. This is sample text. This is another sentence. Hello. This is sample text. This is another sentence.</td> </tr> When viewed in a browser, the result looks like this: but when rendered by

Visual Studio setup project: run CustomActions/process as current user not system account

烂漫一生 提交于 2019-12-03 08:19:30
I'm using a setup project in visual studio 2010 for a c# outlook add-in (Office 2010/2013) and an other standalone tool. During the installation I kill all instances of outlook, afterwards I want to restart an instance of outlook. In my addin project I added an installerclass and added an InstallEventHandler(AfterInstallEventHandler) where I execute Process.Start("Outlook"); While the same command simply opens Outlook in an other compiled class, in the context of the installer outlook opens in the profile creation assistant. I also tried to run said working compiled exe as an user defined

How to get the MailItems of a specific folder in Outlook

倾然丶 夕夏残阳落幕 提交于 2019-12-02 13:20:57
My folder is called "Request Mailbox" in Outlook How can I get a list of all mailitems in that folder For a delegate mailbox already open in Outlook, use Application.Session.Folders.("TheDelegateMialboxName@YourCompany.com").Folders("TheFolderName") To get list of MailItems , you can simply do this MailItem list will be displayed as Email Option Explicit Sub MailItems() Dim olNamespace As Outlook.NameSpace Dim olFolder As Outlook.MAPIFolder Dim olItem As Outlook.MailItem Set olNamespace = Application.GetNamespace("MAPI") Set olFolder = olNamespace.GetDefaultFolder(olFolderInbox).Folders(

How can I reliably get the object of a contact context menu in an Outlook 2013 addin?

拥有回忆 提交于 2019-12-02 10:02:58
问题 I am adding an entry to the context menu for a Contact in Outlook 2013 following the example in this article. Here is the XML: <customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="Ribbon_Load"> <contextMenus> <contextMenu idMso="ContextMenuContactItem"> <button id="MyContextMenuContactItem" label="Do something..." onAction="OnDoSomething" insertAfterMso="DialMenu"/> </contextMenu> </contextMenus> </customUI> The entry shows up in the menu properly, and when I click