Drag-and-drop of a mail window in Outlook 2016 - outlook-2016

Is it possible to drag the window of a mail M1 and drop it to the window of a mail M2 in Outlook 2016 in order to attach M1 to M2 ?
If so, how ?
Any help will be greatly appreciated

You can drag-and-drop one stored email into a email being drafted by simply opening the draft in another window, having a list with the stored email open in your outlook menu window, and then dragging and dropping the stored email onto the email being drafted, saving the stored email as an attachment.

Related

How to handle outlook new message windows notification from Outlook Add-in

I have an Outloook Add-in that implements a kind of client-server communication with a background process. I have a custom window which is filled in with some information and then it is passed in to a background process (using System.Net.HttpClient.PostAsync) which processes it.
After background process finishes processing that information, it informs to Outlook Add-in about that, then Outlook Add-in handle this, creates a new Outlook email that appears as a new message in the Outlook inbox and finally shows a windows notification in the system tray informing the user about that.
Now I would like to handle from Outlook Add-in the event that is fired when user clicks on the Windows notification popup in the system tray so that Outlook Add-in can open a new window to display all the information processed by the background process.
So is it possible to do it? If so, could you please provide me some code snippets or examples, or even some kind of guide to start in? I have google and I haven't found anything about that.
Yes, it is possible. But VSTO (nor Outlook) doesn't provide anything for that. That is a pure .net topic. Consider your VSTO add-in as a regular Windows application based on .net platform.
I suppose the NotifyIcon component is used for displaying a notification in the tray. In that case you can use the NotifyIcon.BalloonTipClicked event which is fired when the balloon tip is clicked.
The following code example demonstrates the use of this member. In the example, an event handler reports on the occurrence of the BalloonTipClicked event. This report helps you to learn when the event occurs and can assist you in debugging. To report on multiple events or on events that occur frequently, consider replacing MessageBox.Show with Console.WriteLine or appending the message to a multiline TextBox.
To run the example code, paste it into a project that contains an instance of type NotifyIcon named NotifyIcon1. Then ensure that the event handler is associated with the BalloonTipClicked event.
MessageBox.Show("You are in the NotifyIcon.BalloonTipClicked event.");
So you are trying to create a fake email in the Inbox folder that looks like it was received? You cannot force Outlook to display new message notification - that can only be done from a transport provider by calling IMAPISupport::Notify and passing fnewNewMail flag.
You can of course create a fake message in the Inbox folder that looks like it was received (a bit convoluted in OOM but very easy using Redemption (I am its author) or Extended MAPI).
The best you can do is create your own tray notification that will open the message and display it (MailItem.Display) when the user clicks on it.

Applescript for Reminders + Mail linked together

On macOS and iOS, one can create reminders (in Reminders.app) from Mail.app such that when the Mail icon is clicked (or tapped on an iPhone), the source email opens in Mail.app, without further ado.
For instance, in this (attached image), I'd simply have to click on the icon on the far right to open the source email in Mail.app.
I am looking for a way to programmatically achieve this behavior using applescript. I tried setting the reminder url using "message:" and while that works on the MBP, it doesn't work on the iPhone.
Any help appreciated.

The problem with the IPM.Schedule.Meeting.Request and the organizer in Outlook

Outlook displays the following text: “As the meeting organizer, you do not need to respond to the meeting,” and this happens when Outlook opens my IPM.Schedule.Meeting.Request message.
The message store owner is not the organizer, and I really don't know why Outlook can display this text. Can you help me find out the reason for the behavior of Outlook?
If the user/account from which the meeting request was sent has the same display name as the invited attendee then Outlook thinks the meeting organizer is the same person as the attendee. In such cases, Outlook will not let you ACCEPT the meeting request, but instead shows:
As the meeting organizer, you do not need to respond to the meeting.
As a workaround, you need to ensure the display names are not exactly the same. Change one of the display names and the other, so they look different.

How to access the context menu for an attachment in Outlook "New Message dialog

I have an Outlook VSTO addin. I can successfully modify the context menu for attachments "received" by the user (either in the email message received or in the preview window.) I cannot figure out how to access the context menu for an attachment for a message being "sent"
Anyone know of the idMso for this context menu or another way to get access to it?
Not all context menus can be customized by developers (there is no idMso values published). You can find possible context menus customizations described in the Extending the User Interface in Outlook 2010 article.

Sender e-mail adress when two accounts are set up in Outlook

I have two e-mail accounts in my Outlook and when replying e-mails, I don't want to choose all the the time the account which will be sent with. How can this be done?
For Outlook 2007
Select Tools | Account Settings... from the menu.
Highlight the desired account.
Click Set as Default.
Now click Close.
REF: http://email.about.com/od/outlooktips/qt/How_to_Set_the_Default_Account_in_Outlook.htm

Resources