I have created a form using Winform to send email. My Outlook 2010 Window is opening and is working fine. However, on my friend machine, it is not working because he has Outlook 2013. Is it possible to create a send mail which will work on both Outlook 2010 and 2013. Below is the code I am using:
var outlookApp = new Outlook.Application();
Outlook.MailItem mailItem = outlookApp.CreateItem(Outlook.OlItemType.olMailItem);
mailItem.Subject = this.txtTitle.Text;
mailItem.HTMLBody = this.HtmlText;
mailItem.HTMLBody = mailItem.HTMLBody + ReadSignature();
mailItem.Importance = Outlook.OlImportance.olImportanceLow;
mailItem.Display(true);
Moreover, the COM I have use is Microsoft Outlook 14.0 Object and I know for Outlook 2013 it is Microsoft Outlook 15.0 Object