outlook-2010

How to show on front (and not on background) a new email form in Outlook with OLE?

余生长醉 提交于 2019-12-01 21:07:17
I am using OLE with Delphi to communicate from my delphi app to Outlook. I am opening the new email form in Outlook using the following code. The problem is that the form is on background, so if the form from which I am generating the email form is maximized it will "cover" the Outlook new mail form. How can I make that form appear it on top? (not "sticking on top", but simply that it appears on top, then a user can mimimize it if they want). This is the code: try OutlookApp := GetActiveOleObject('Outlook.Application'); except OutlookApp := CreateOleObject('Outlook.Application'); end; try

open new Outlook from website, too long mailTo Link, *.eml file bcc field not loaded

时光毁灭记忆、已成空白 提交于 2019-12-01 16:54:20
I'm trying to open a *.eml file with Microsoft Outlook 2010 and got problems with the bcc field. Here is my eml file: To: example@domain.com Subject: Mail Subject cc: cc@domain.com bcc: bcc@domain.com Content-Type: text/plain MIME-Version: 1.0 X-Unsent: 1 Mail content When I open this eml file with Outlook all entries work fine, except bcc . How can i bring the bcc field to work? Edit I basicly want the same behavior of a mailto link on a webpage. The user should click on a link and the default mailprogram (which is Outlook in the office where the software is used) should open. mailto links

open new Outlook from website, too long mailTo Link, *.eml file bcc field not loaded

本秂侑毒 提交于 2019-12-01 15:50:33
问题 I'm trying to open a *.eml file with Microsoft Outlook 2010 and got problems with the bcc field. Here is my eml file: To: example@domain.com Subject: Mail Subject cc: cc@domain.com bcc: bcc@domain.com Content-Type: text/plain MIME-Version: 1.0 X-Unsent: 1 Mail content When I open this eml file with Outlook all entries work fine, except bcc . How can i bring the bcc field to work? Edit I basicly want the same behavior of a mailto link on a webpage. The user should click on a link and the

FindRibbons task failed unexpectedly when building addin for Outlook 2010

余生长醉 提交于 2019-12-01 08:14:14
We're building an Outlook 2010 plugin using VS2013, .NET4, Microsoft Async and BCL Portability (from Nuget) and encountering build errors similar to this question and this forum discussion unfortunately neither of these resources (or the rest of the internet) have helped resolve our problem. The build error and Fusion log are at bottom. My first question: How does one troubleshoot this FindRibbons build task? Removing it entirely from the VS targets file allows the build to complete, but at the expense of no ribbon controls. The second symptom we have is the Attempting download section of the

How to programmatically set a custom icon on an Outlook search folder? (i.e. Outlook Folder SetCustomIcon)

江枫思渺然 提交于 2019-12-01 06:34:51
问题 I am attempting to use the Folder.SetCustomIcon() method to place a custom icon on a saved search folder I programmatically created. The SetCustomIcon() documentation is very sparse but can be found here for reference. Also, the object it expects is here and again the examples are very sparse. Would anybody know how to set the custom icon for a folder? The following is the code I have thus far: searchFolders = inboxFolder.Store.GetSearchFolders(); foreach (Outlook.Folder folder in

Handle Hyperlink Click Event in Outlook Mail in C#

夙愿已清 提交于 2019-12-01 06:08:05
I want to handle the hyperlink click event in an outlook mail. To open the hyperlinks in outlook mails without opening the browser within itself. Does anyone know how to handle hyperlink click event on a mail item? After searching a lot, I found that there is no way to catch the hyperlink click event in outlook. If we want to catch a link we can define our own protocol url as follow. http://msdn.microsoft.com/en-us/library/aa767914(VS.85).aspx Then using our own protocol handler we can catch the event. If someone needs more information ask here. Write an Outlook Add-in .net to handle that. To

FindRibbons task failed unexpectedly when building addin for Outlook 2010

懵懂的女人 提交于 2019-12-01 05:10:22
问题 We're building an Outlook 2010 plugin using VS2013, .NET4, Microsoft Async and BCL Portability (from Nuget) and encountering build errors similar to this question and this forum discussion unfortunately neither of these resources (or the rest of the internet) have helped resolve our problem. The build error and Fusion log are at bottom. My first question: How does one troubleshoot this FindRibbons build task? Removing it entirely from the VS targets file allows the build to complete, but at

programmatically send outlook email from shared mailbox

偶尔善良 提交于 2019-12-01 04:50:24
问题 I'm trying to send an email with python from a shared mailbox. I have been able to sucessfuly send it through my own email, but sending one with a shared mailbox (that I have tested that I have access too) is giving me issues. Code used for email script in python import win32com.client import win32com olMailItem = 0x0 obj = win32com.client.Dispatch("Outlook.Application") newMail = obj.CreateItem(olMailItem) newMail.Subject = "Python Email Test" newMail.Body = "Test" newMail.To = 'hi@hi.com'

Handle Hyperlink Click Event in Outlook Mail in C#

偶尔善良 提交于 2019-12-01 04:07:00
问题 I want to handle the hyperlink click event in an outlook mail. To open the hyperlinks in outlook mails without opening the browser within itself. Does anyone know how to handle hyperlink click event on a mail item? 回答1: After searching a lot, I found that there is no way to catch the hyperlink click event in outlook. If we want to catch a link we can define our own protocol url as follow. http://msdn.microsoft.com/en-us/library/aa767914(VS.85).aspx Then using our own protocol handler we can

Outlook Filter Items - Get all recurring appointments in a week range

六月ゝ 毕业季﹏ 提交于 2019-11-30 23:58:33
I'm trying to get all appointments in outlook in week range, but reoccurring appointments are not showing up. Here is the code: var outlook = new Microsoft.Office.Interop.Outlook.Application(); var calendar = outlook.Application.Session.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderCalendar); calendar.Items.IncludeRecurrences = true; string filter = String.Format("[Start] >= {0} And [End] < {1}", DateTime.Now.Date.ToString("ddddd h:nn AMPM"), DateTime.Now.Date.AddDays(5).ToString("ddddd h:nn AMPM")); Outlook.AppointmentItem appointment; foreach (var item in calendar.Items.Restrict(filter))