![]() |
need help w/ sending an e-mail -- outlook 2007 addin
I wrote an outlook 2007 add-in that brought up a WPF window w/ fields to fill
out, and when you clicked the create e-mail button, it created an e-mail based on the contents of the form. The problem lies in that it is bringing up almost a "generic" e-mail -- it doesn't have my signature on it, if Microsoft CRM is loaded it won't have the 'track in crm' listed -- it's almost as if it doesn't know it's me sending it, but when i send the e-mail, it always sends from my default account (which is good). Any help?? Outlook.Application App1 = new Microsoft.Office.Interop.Outlook.Application(); Outlook.MailItem mail1 = (Outlook.MailItem) App1.CreateItem(Microsoft.Office.Interop.Outlook.O lItemType.olMailItem); |
need help w/ sending an e-mail -- outlook 2007 addin
If this is in an Outlook addin use the Outlook.Application object passed to
you, don't use New to create a new instance of the application. CRM no one here will be able to help with, I doubt there's much if any expertise on that here. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "TechRetard" wrote in message ... I wrote an outlook 2007 add-in that brought up a WPF window w/ fields to fill out, and when you clicked the create e-mail button, it created an e-mail based on the contents of the form. The problem lies in that it is bringing up almost a "generic" e-mail -- it doesn't have my signature on it, if Microsoft CRM is loaded it won't have the 'track in crm' listed -- it's almost as if it doesn't know it's me sending it, but when i send the e-mail, it always sends from my default account (which is good). Any help?? Outlook.Application App1 = new Microsoft.Office.Interop.Outlook.Application(); Outlook.MailItem mail1 = (Outlook.MailItem) App1.CreateItem(Microsoft.Office.Interop.Outlook.O lItemType.olMailItem); |
need help w/ sending an e-mail -- outlook 2007 addin
If you want the signature to display, create the message, return its
Inspector with GetInspector -- that should cause the signature to be inserted -- and then concatenate or insert your new content into the existing message content. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "TechRetard" wrote: I wrote an outlook 2007 add-in that brought up a WPF window w/ fields to fill out, and when you clicked the create e-mail button, it created an e-mail based on the contents of the form. The problem lies in that it is bringing up almost a "generic" e-mail -- it doesn't have my signature on it, if Microsoft CRM is loaded it won't have the 'track in crm' listed -- it's almost as if it doesn't know it's me sending it, but when i send the e-mail, it always sends from my default account (which is good). Any help?? Outlook.Application App1 = new Microsoft.Office.Interop.Outlook.Application(); Outlook.MailItem mail1 = (Outlook.MailItem) App1.CreateItem(Microsoft.Office.Interop.Outlook.O lItemType.olMailItem); |
All times are GMT +1. The time now is 12:25 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com