Menu
  • HOME
  • TAGS

Apps for Office 2013: Cannot load custom properties in an outlook item if it is in a shared calendar

javascript,outlook-2013,apps-for-office

I cross posted this on the Apps for Office 2013 forum on MSDN and it appears that the current version of the API (1.1) simply does not support custom fields for shared calendars, and there is no known workaround. If you require this feature yourself, please upvote this request in...

Outlook 2013 HTML Signature with Image Background

html,outlook,background-image,outlook-2013

Keep in mind that Outlook uses Word to render HTML, not IE. Don't know if Word supports background images for tables, AFAIK it does not support background images for the tag.

Outlook 2013 add-in dynamic context menu

.net,vsto,contextmenu,outlook-addin,outlook-2013

You have to use Callback methods (specified in the XML file) to control whether or not an item is visible. In fact there are lots of Callbacks available you can specify to custom your context menu in the XML file (and they all start with get). e.g. getEnabled, getImage, getDescription,...

How do I auto BCC all e-mails from Outlook 2013?

email,outlook-vba,outlook-2013

Here's the code, courtesy of GroovyPost.com: Private Sub Application_ItemSend(ByVal Item As Object, _ Cancel As Boolean) Dim objRecip As Recipient Dim strMsg As String Dim res As Integer Dim strBcc As String On Error Resume Next ' #### USER OPTIONS #### ' address for Bcc -- must be SMTP address...

Outlook 2013 app deployment in production

deployment,outlook,outlook-addin,outlook-2013

No, you can't deploy Office Apps using MSI.

Issues getting a 2010 VSTO outlook plugin working on Outlook 2013?

c#,visual-studio-2010,outlook,vsto,outlook-2013

Do you have Outlook 2013 on the machine you have the add-in project on? If you do, you can debug from VS 2010 by setting the "Start external program" in the Debug tab of the project properties window to the Outlook 2013 .exe. When I created my add-in I was...

Macro in outlook to mark emails as read

outlook,outlook-2013

No sure, I have heard this one before of wanting emails automatically read. You have two options: a) Use Ctrl-A (select all mail in folder), Ctrl-Q (mark selection as read) b) Use New Email Event something like: Private Sub Application_NewMailEx(ByVal EntryIDCollection As String) vID = Split(EntryIDCollection, ",") Dim i as...

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

c#,vsto,outlook-addin,outlook-2013

The type of the Context object depends on the place where you clicked and the context menu type. To get the underlying type you need to do the following: Cast the object to the IDispatch interface. Get the ITypeInfo interface using the GetTypeInfo method of the IDispatch interface. Get the...

Alternative to CommandBarControl for Outlook 2013 VSTO add-in

c#,calendar,outlook,vsto,outlook-2013

You are right, Command bars were deprecated in Office 2010. Now the Fluent UI is used instead. You can read more about the new UI in the following series of articles: Customizing the 2007 Office Fluent Ribbon for Developers (Part 1 of 3) Customizing the 2007 Office Fluent Ribbon for...

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

dynamics-crm-2011,outlook-addin,outlook-2010,dynamics-crm-2013,outlook-2013

Since Rollup 12 for CRM 2011 Metadata query is available. So instead of querying of all entities you can try to build query and get only one entity.

How to catch email deletion on the main inbox explorer?

c#,outlook-addin,outlook-2013

You can catch the Items.ItemAdd event on the Deleted Items folder's Items collection. It will not of course fire in case of Shift+Delete....

Outlook 2013, get docked message object

outlook-2013

If you want to return the new message as an object (like Outlook.MailItem), you should try this: Outlook.Application oApp = new Outlook.Application(); Outlook.MailItem oMsg = explorer.GetType().InvokeMember("ActiveInlineResponse", System.Reflection.BindingFlags.GetProperty | System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.Public, null, explorer, null) as Outlook.MailItem; You should be able to attach a file to the currently docked Outlook message...

Upgrading to outlook 2013 killed a a VBScript

vbscript,outlook,outlook-2013

You are missing a "set": set EmailCheckString = objUnprocessed.Items(j) Or, looking closely at your code, you expected to get the default string property, which happens to be Subject). Try to explicitly request it: EmailCheckString = objUnprocessed.Items(j).Subject ...

How to add images from resources folder as attachment and embed into outlook mail body in C#

c#,vsto,outlook-addin,outlook-2013

Create an attachment and set the PR_ATTACH_CONTENT_ID property (DASL name "http://schemas.microsoft.com/mapi/proptag/0x3712001F") using Attachment.PropertyAccessor. Your HTML body (MailItem.HTMLBody property) would then need to reference that image attachment through the cid: img src="cid:xyz" where xyz is the value of the PR_ATTACH_CONTENT_ID property. Look at an existing message with OutlookSpy (click IMessage button)....

Open an .OST file in Outlook 2013

outlook-vba,outlook-2010,outlook-2013

If you want to access OST file, then you have to convert it into PST file first as PST files are the ones that can be imported into Outlook, not OST file. To do the same, you can use any OST to PST Converter. You can give a shot to...

How to test if the email is a regular email or reply?

vba,outlook-vba,outlook-2013

You note that the problem happens when you encounter a message which is either a reply or a forward. One thing both of those have in common is a prefix on the subject, like "RE: something" or "FW: something else". Note the colon in the prefix. I don't see you...

Outlook VBA macro appears not to be executing

email,outlook-vba,outlook-2013

Open a mailitem that fits the rule conditions and step through this. Option Explicit Private Sub CodeSubjectForward_Test() Dim currItem As MailItem Set currItem = ActiveInspector.currentItem CodeSubjectForward currItem End Sub If you get to CodeSubjectForward then the rule conditions are not correct....

Sending out HTML emails via Outlook 2013

html,email,outlook,html-email,outlook-2013

Outlook does not check whether the domain is trusted. You can either make sure the images are embedded (<img src="cid:xyz"> where xyz is the Content-ID MIME header of the image attachment) or you can set a special property on the client side (it can only be set on the client...

Outlook 2013 Form Region and the Delete Key

c#,outlook,outlook-addin,outlook-2013

First of all, I'd suggest breaking the chain of property and method calls and declare each property or method call on a separate line of code. Thus, you will be able to release underlying COM objects inplace. Use System.Runtime.InteropServices.Marshal.ReleaseComObject to release an Outlook object when you have finished using it....

Outlook automation search is not initiated in Outlook 2013

outlook,outlook-addin,office-automation,outlook-2013

Resolved by delaying objExplorer.Search() (by creating a new explorer and posting a message to the window, which then enacts objExplorer.Search). Ugly, but works :-(