Creating link to Outlook messages - outlook

Outlook 2007
While composing a new message in outlook can a link be created to other messages?
Whww I am composing a new mail I would like to create a link to asent item, clicking this link should then open the message.
Can this be done?

Microsoft has a support KB on hyperlinks to access Outlook folders and items:
http://support2.microsoft.com/kb/158135
However, the Outlook: scheme is not registered by default with newer versions of outlook.
http://www.slipstick.com/outlook/using-outlook-links/
I verified that the registry editing technique to associate "outlook:" with opening Outlook items ( http://www.slipstick.com/problems/outlook-missing-outlook-protocol/ ) works for Outlook 2013 on Windows 8.1, so I imagine it would work for earlier versions too.

I needed to do the same thing in Outlook 2013. I was able to do so without any registry editing. (I believe such editing is only necessary if you want the links to work outside of Outlook)
I wanted to create a link to an email that I had stored in the following Outlook folder: My Projects\Set 1\. The subject line of the email was Testing links. Here's the steps to do so:
Right-click on the folder in which the target email is stored -> Choose Properties...
Copy the full Location path (in my case this was \\MyEmail#my.domain\My Projects. (Note that this doesn't include the parent folder itself; Use the description box (or some other convenient location) to paste that path, then append the folder. So in my case the full path looked like \\MyEmail#my.domain\My Projects\Set 1.
Open up the email that you want to paste the link into.
Create a normal hyperlink
In the Address field type Outlook: followed by the path you created in Step 2 above, followed by a backslash and tilde, followed by the subject line of the target email. So for me, that whole address looks like this: Outlook:\\MyEmail#my.domain\My Projects\~Testing links
Done.

Related

Show publisher name in list of installed programs

I use Wix Toolset v3.11 to generate an .msi installer for my Windows application.
How can I have a publisher name appear in the entry for my application in Settings -> Apps & features?
I noticed that some entries in that list include a publisher name underneath the app name:
I set <Product ... Manufacturer="My Company Name" ... in my .wxs file and I can see this is stored in the registry at HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\<guid>\Publisher.
But apparently that isn't enough to make the publisher appear in the list of programs. The apps that do show a publisher (Windows Store apps?) are stored in a different part of the registry.
From what I've noticed the publisher's name appears only for apps packages as an .APPX/.MSIX package. Not for those installed from an MSI/EXE setup.
The source of the APPX/MSIX package does not matter, I have packages installed from outside the store (sideloaded) which display the publisher's name correctly.
If you want to learn more about MSIX/APPX packages, check out this introduction guide I wrote.
I, too, wanted to list my name as the publisher of my applications in the Settings Apps & Features list. So, I went searching for how to do that and found your post on Stack Overflow. Then an idea struck so I tried it out, and what-da-ya-know … it worked! Not perfectly, but “good enough” for what I wanted to do. Perhaps good enough for you, and others, also.
In the “Uninstall” Registry key for my apps, I append a line-break character and my name to the “DisplayName” value. Like this:
Registry Entry
The line-break character can be a Line Feed (0A), Vertical Tab (0B), Form Feed (0C), or Carriage Return (0D). Any of them work (as does a CR+LF combination). I like the FF because it displays as an up arrow in RegEdit and text files (such as .reg scripts), which makes it easy to select, cut, copy, and paste.
This method does cause a blank link to appear in the Settings Apps & Features list:
Apps List
But I can live with that, and I suspect that the few users who actually notice the extra blank line won’t give it a second thought. Given how easy it is to add my “Publisher” name, it is an acceptable imperfection.

Save Email attachments to Google drive Attachment name deletes the letter automatically

I have created the flow to save my outlook attachment to save it google drive as a separate folder when ever I receive email with attachment.
But the problem is on the below highlighted screenshot when I type really slowly to the core Attachments From in the folder path it works but if I do the normal typing it keeps on deleting the letter. Any idea how to fix this behavior.
The point is you probably have selected some destination folder from drop-down menu and that is why such a miracle happens. And I guess it is not a bug but a feature.
How to overcome that? Just type/paste your desired value or add a dynamic content (or both).

Getting MAPI_E_COMPUTED when altering PidTagBlockStatus in OutlookSpy

I have .MSG file for which I cannot change PR_BLOCK_STATUS (PidTagBlockStatus). If I change it with OutlookSpy or MFCMapi, I'm getting MAPI_E_COMPUTED.
Outlook also displays an error when saving this message (it happens after the user clicks Display external images, then closes the message, Outlook displays "Save changes?" dialog and the user agrees).
However, PidTagBlockStatus is not a computable property. I can't understand why this happens. I have another .MSG file which is almost the copy of the first one (OutlookSpy and MFCMapi show that both .MSG files have identical fields/values) but for this file I can set PR_BLOCK_STATUS. However, these files have different length and low-level utils like SSView show that larger (and "working") file has more fields. These mysterious fields, however, are not displayed in OutlookSpy or MFCMapi.
The problem is not related to incorrect setting of PidTagMessageDeliveryTime as both messages (working and non-working) have the same PidTagMessageDeliveryTime (and other fields as well). Outlook itself (which knows how to properly set PR_BLOCK_STATUS from PidTagMessageDeliveryTime) cannot complete message save operation.
"Working" file was saved directly from Outlook, "non-working" - with a third-party software. I need to find a way to "fix" the non-working file to make it possible for Outlook to save PR_BLOCK_STATUS without issues.
One more thing. It's possible to simply delete PR_BLOCK_STATUS from .MSG at all. This, however, has an effect that once the user clicked Display external images, Outlook correctly sets PR_BLOCK_STATUS but the message gets blank in Outlook until it's opened next time. So this method does not work for me either. For that, I'm adding PR_BLOCK_STATUS to the message and setting it to zero (letting Outlook calculate the correct value if the user decided to display external pictures). With the default value of zero, Outlook normally shows the message after "Display external images" click, but fails to update the .MSG file on closing the message.
Another method would be calculation of PR_BLOCK_STATUS in "show external images" state in advance (like it's described at html email outlook asks to download images topic), but I can't get this as this must be the user's decision for each particular message, not mine.
Links to .MSG files (good/working and bad/non-working)
https://dl.dropboxusercontent.com/u/18102725/msgs.zip
Using Outlook 2010 64-bit, Windows 7 Ultimate, OutlookSpy 3.7 64-bit.
MSG files let you set any property, including PR_LAST_MODIFICATION_TIME or PR_ENTRYID. How does third party software create the MSG files? Have you looked at the MSG files using the OLE Storage viewers, such as Structured Storage Viewer (http://www.mitec.cz/ssv.html)?

Open .eml files in compose mode in outlook 2010

I want my users to be able to open eml files in compose mode in outlook 2010, by default it opens in readonly mode. Is there any way out?
Use: We generate email templates which the users can download and customize it before sending.
If you can add the header "X-Unsent: 1" to your .eml, it should open in Compose mode.
Works on Microsoft Outlook but does not work on thunderbird.
A related discussion can be found here https://bugzilla.mozilla.org/show_bug.cgi?id=688284
Mail on MacOS adds this header internally:
X-Uniform-Type-Identifier: com.apple.mail-draft
Unfortunately, this will still not allow you to sent it directly. However, you can move any mail to your drafts folder and then sent it from there.

Outlook MailItem opened from standalone file, or not?

I'm developing an Outlook addin in C# and have a problem distinguishing mails opened from a folder (Inbox, Sent etc) from mails opened from a standalone .msg file.
I've tried inspecting the Parent property, but it shows Inbox for both kinds.
Any ideas out there?
/Sam
Looking through the properties, it looks to me that the .EntryID property is blank if the MailItem is opened from the file system, and has a value if the file is opened from within a folder. This makes sense based on the help entry for it; one caveat is that you'd also expect this property to be blank if the message is a new message (i.e. hasn't been saved in a folder, but doesn't exist in the file system either).
From the help concerning blank values:
Therefore, the EntryID property is not
set for an Outlook item until it is
saved or sent
You'd want to experiment with it and make sure it definitely behaves correctly before you implemented it :)
Failing all THAT, the next step could be complex; one approach would be to inspect the handles opened by Outlook. Inspecting them (in a non-priveleged context) via Process Explorer shows that there is a handle for each message; the name of the handle matches the message subject, the path is the file's path. One solution to enumerate these is in this answer.
HTH,
Geoff

Resources