Lightroom: Exported emails don't appear in Outlook's sent items folder.

  • 7
  • Problem
  • Updated 6 years ago
  • Solved
  • (Edited)
Problem exporting to email in LR4 using Microsoft Outlook.

I use Outlook 2010 for email on my Windows 7 64-bit computer. When I export images to email using Lightroom 4.0, the email is sent and it does reach the recipient, but THE EMAIL NEVER APPEARS IN OUTLOOK'S "SENT ITEMS" FOLDER.

I depend on Outlook to keep track of correspondence with clients. Because of this problem, I have no record of the email containing the exported images.

How doe I fix this?

Alan
Photo of Alan Haynes

Alan Haynes

  • 8 Posts
  • 3 Reply Likes

Posted 7 years ago

  • 7
Photo of jdv

jdv, Champion

  • 728 Posts
  • 56 Reply Likes
This might be a function of how Outlook intercepts this specific mailto protocol request, but there is no way I can think of to get these to show up in your Sent folder.

Your options:

1. CC to yourself.
2. Use a remote SMTP service like Gmail.

[Later]
Ok, somehow Outlook is handling the request with Save Sent Item set to Do Not Save. So, a third option is to set this by hand in the Outlook Window that comes up.

Apparently, there is some complicated "Outlook Session" stuff that may or may not be accessible by third-parties that are depending on the OS intercepting a request for the mailto: protocol.
Photo of Alan Haynes

Alan Haynes

  • 8 Posts
  • 3 Reply Likes
Hi John,

I did a little more research and found that you are correct.

It seems that every time I send an email via Lightroom, I'll have to remember to go to Outlook's Options menu, choose Save Sent Item To and choose Use Default Folder.

It's a pain, but it works. Lightroom emails will be saved in Sent Items if I remember to do it. I couldn't find any way to cause Outlook to default to this behavior. The default is always Do Not Save.

Thanks for the help,

Alan
Photo of Stuart Claggett

Stuart Claggett

  • 6 Posts
  • 0 Reply Likes
Tested the email photos from the file menu for LR4.1 RC beta today and while the system did prompt an outlook email message screen. Once we hit send there was nothing in the sent mail box and nothing at the recipient address. Used the email to hard drive instead.

This reply was created from a merged topic originally titled
LLR 4.1 Beta Email Photo Issue/Outlook.
Photo of Ernie Barnhart

Ernie Barnhart

  • 2 Posts
  • 0 Reply Likes
With Lightroom 4.1 using Outlook 2010 to attach photos to email messages the generated message has changed the location of the saved sent item to "DO Not Save". How can this be changed, so the option does not need to be set to "Use default folder" eveytime a photo from Lightroom is sent via email?

All my other sent emails are automatically saved to the default folder.

This reply was created from a merged topic originally titled
Llightroom 4.1: Saving sent emails with Outlook 2010.
Photo of Ernie Barnhart

Ernie Barnhart

  • 2 Posts
  • 0 Reply Likes
Just tried Nikon View NX2 to send a photo attached to an email, and noted that neither of the "Do Not Save" nor "Use default Folder" option was selected in the generated Outlook 2010 email, and since my Outlook default is "Use default folder" it was saved there.

It does appear that Lightroon is setting this, and there should be a way to tell it not to set an option.
Photo of Jon9999

Jon9999

  • 39 Posts
  • 14 Reply Likes
This problem still exists in Lightroom 4.2, and it's 100% reproducible.

I've posted a bug report at http://feedback.photoshop.com/photosh...

Please chime in there if you also find this behavior annoying.
Photo of Jon9999

Jon9999

  • 39 Posts
  • 14 Reply Likes
When emailing photographs from within Lightroom 4.2 (Windows) via Microsoft Outlook 2010, a copy of the sent mail is not saved in Outlook's Sent Items folder even when Outlook is configured to save a copy of all outgoing messages by default.

The Lightroom call to Outlook results in an Outlook outgoing message window with the message's Options | Save Sent Item To option set to Do Not Save instead of the usual Use Default Folder. (See screenshot below.)

The user can manually change the setting back to Use Default Folder for each individual message, but it's easy to forget to do -- and once you hit Send, it's too late.

There must be something misconfigured in the Lightroom call to Outlook, because this unwanted behavior isn't observed in other programs that call Outlook for sending email (i.e., other programs' mailto calls result in the outgoing message having Use Default Folder for Options | Save Sent Item To, and the email leaves a copy in the Sent Items folder as it should).

Adobe? Can you please fix this in 4.3?



This reply was created from a merged topic originally titled
Lightroom: Email sending bug (Lightroom > Outlook).
Photo of jdv

jdv, Champion

  • 728 Posts
  • 56 Reply Likes
Assuming all Lightroom is doing is telling the OS to handle the "mailto" protocol request, I'm uncertain what more can be done. It is odd.

However, here is a potential workaround (I don't use Outlook for any reason anymore, so I cannot test this):

Create a rule based on “Apply rule on messages I send”, and possible some keyword in the other headers -- the idea is that you want Lightroom-originating emails to trigger the rule.

Have this rule drop a copy into any folder you like, including the regular Sent Items folder.
Photo of Jon9999

Jon9999

  • 39 Posts
  • 14 Reply Likes
John Verne: thank you for the response. Unfortunately, this is not a satisfactory work-around. The problem is that there does not appear to be any attribute unique to Lightroom-generated email that is accessible from the Outlook Rules Wizard and that can be used to trigger such a rule. (I tried using "Has an attachment," but that resulted in getting two copies of Outlook-originated email with attachments.)

Although I don't know the details, I have to disagree that Lightroom has nothing to do with this problem. When other programs make a mailto (or is it MAPI?) call to Outlook (including web browsers, and including even the freeware IrfanView image viewer), the problem doesn't happen. So there must be something missing from or unique to the way Lightroom is making the call that is causing the default "Save Sent Item To" setting to be overridden.

(The only difference I can see when searching through a Lightroom-generated message vs. an Outlook- or Firefox-generated message is that the former leaves the "Account" field blank -- and it defaults to the primary account -- while the others seem to populate the "Account" field with the primary account explicitly. I don't know whether this is related.)

Adobe: Please address this. It's a major flaw in the LR email workflow. If the Outlook-specific issue cannot be resolved, then an acceptable (but suboptimal) workaround would be for Lightroom to provide a "Bcc by default" option so all LR-generated email could be Bcc'ed back to the sender, whether the email is sent directly from LR or via a mailto (MAPI?) call to Outlook or any other email client.
Photo of Jon9999

Jon9999

  • 39 Posts
  • 14 Reply Likes
P.S. Does anybody know whether bug reports like this posted here find their way to the Adobe product team? Or do we have to raise bugs via a different route?

P.P.S. I take back what I wrote about the built-in email client being an acceptable workaround if it had a "Bcc by default" option. That would only be acceptable if the built-in client also came with the option to send photos as true attachments rather than as in-line images. The latter just doesn't work well for many recipients, especially on Windows systems.
Photo of jdv

jdv, Champion

  • 728 Posts
  • 56 Reply Likes
AFAIK, there is no such thing as an SMTP header called "account". I doubt it is using MAPI, though if it is then using Outlook as a service is probably never going store the sent messages, as Outlook is not really acting as a mailer.

If it is bringing up an Outlook edit window with a MIME attachment for the image, which you can further edit with body content and it is still not saving a copy in the Sent Items folder, then this is not a mailto protocol issue, either. At this point, mailto has triggered the OS protocol handler, and the rest is up to the mailer.

At issue is that Outlook is starting up in a state where it does not automatically do this. Now, Outlook has "smart" features (like any other modern mailer) that tries to sense which "account" a message is associated with. And it has the notion of a default account. My guess is that under these circumstances, some Outlook configurations will start up with a default account setting that has no associated Sent Items folder.

As a hail-mary, you can try to force the account settings via these registry settings:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\14.0\outlook\options
DWORD VALUE 1 ForceAccountSelection

I don't know if this is supported for your version of Outlook, so you might have to change that "14.0" to something reasonable on your system.

Now, all this might do is save the items to the "wrong" sent items folder, especially if you are using an IMAP account. If this is the case, then the problem is definitely how Outlook as the mailto handler is deciding how to manage mail items it is being told to manage.
Photo of Jon9999

Jon9999

  • 39 Posts
  • 14 Reply Likes
Okay, you've gone way above my head! Thanks, though.

Hopefully somebody from Adobe will read this and adjust the way Lightroom makes the call to Outlook in version 4.3. Again, since other programs manage to call Outlook in a way that results in sent messages being saved, there must be a way for Lightroom to do this as well. I don't know what's going on behind the scenes, but from an end user's perspective, the experience is identical when sending email from Lightroom as it is when sending email from, say, IrfanView -- except that one doesn't save a copy in Sent Items and the other does.

Cheers!
Photo of jdv

jdv, Champion

  • 728 Posts
  • 56 Reply Likes
I guess what I'm saying is that, if this is a mailto: link that Outlook is handling because the OS is telling it to (i.e., an outlook edit window is coming up), then there is little Lightroom can do to change this. Once the mailer is open, what it does in terms of saving the message and so on is a function of the mailer, not the agent that initiated the mailto link in the first place.

An easy test would be to construct a mailto link with an "attach=" clause, and see what Outlook does.

mailto:lastname.firstname@xxx.com?subject=Test_Attachment&body=This%20is%20a%20test%20email.&attach=C:\Documents%20and%20Settings\username\Desktop\foldername\APPname_20121123.log

Change the email address to match your account in Outlook. Change the path after the "&attach=" to point to a test file to attach to the email. Put this link in a web page and click on it from a web browser.
Photo of Jon9999

Jon9999

  • 39 Posts
  • 14 Reply Likes
John Verne, that's my whole point -- and you've just proven that you're mistaken. I did what you asked, and when I clicked on the link containing the mailto HREF that you specified, the Outlook message that was created DID have the Save Sent Item To option set to my default Sent Items folder, and a copy of the outgoing message WAS saved when I sent it. (There was no attachment in the message, though.)

Again, again, that's my whole point. Outlook is just doing what it's told. Every other program I have come across that calls Outlook for sending its email -- and even the simple mailto link that you asked me to try -- leaves the default setting for Save Sent Item To alone. Lightroom is the exception. That is why it is pretty clear that there's something that Lightroom is doing in calling Outlook that is causing the message not to be saved.

As you know from the link you created, mailto has attributes that can be specified as part of the call. MAPI too. So it would stand to reason that one of those attributes somehow affects the behavior of the Save Sent Item To setting. And Lightroom is messing that up.
Photo of jdv

jdv, Champion

  • 728 Posts
  • 56 Reply Likes
The only attributes a mailto link accepts are SMTP headers, SMTP body and the special "attach" parameter. The point is that mailto is a very simple URL-type protocol, and once the handling application starts up, the calling application doesn't have any say in the matter.

By the way, the reason I provided the example above is to work from the known to the unknown to determine the scope of the problem. I am not at all interested in proving anyone "right" or "wrong". This is the wrong attitude when working on problems. I did not prove myself "mistaken" because I never made any strong assertion in the first place.

What I did say is that if Lightroom is using the mailto protocol, then it is Outlook that is at fault. This is an obvious conclusion given the facts.

The only reason I am taking the time to explain this is to suggest that what Lightroom is doing does not involved the mailto protocol at all. This is what we have proven with the little test above.

Something else is at play here.

If MAPI is being used, then Crom save us all, because MAPI is such a hopelessly insecure and broken system that we are lucky it manages to send anything at all.

My guess is that the reason this problem persists is that it is nearly impossible to reproduce consistently on arbitrary systems, which is my experience with MAPI-style conventions in the past.
Photo of Jon9999

Jon9999

  • 39 Posts
  • 14 Reply Likes
All very nice, thank you. (And I really think it is MAPI.) Now how do we get someone from Adobe who can actually fix this to take notice?
Photo of Jon9999

Jon9999

  • 39 Posts
  • 14 Reply Likes
I don't know whether this is relevant (or even correct), but I found some documentation on the web saying that there is a MAPI property called PR_SENTMAIL_ENTRYID that tells the email client where to save a copy of the outgoing mail, and it needs to be set by the application generating the email. If the parameter is copied from PR_IPM_SENTMAIL_ENTRYID, it will use the default Sent Items folder of the email client.

Adobe, any chance that you guys forget to set this property (or set it wrong) when you make the MAPI call from Lightroom?

I'm no expert here, but I'm just sayin'...

Can someone from Adobe please comment? Thank you.
Photo of Jon9999

Jon9999

  • 39 Posts
  • 14 Reply Likes
This has not been fixed in Lightroom 4.3.

Does anyone from Adobe read this forum? Can you get this on the list for 4.4?
Photo of Emily Fu

Emily Fu, Employee

  • 26 Posts
  • 2 Reply Likes
Hi thank you all for reporting this, we already awared this problem and is trying to get it fixed.

Thanks,
Emily, Adobe QE
Photo of Bruce

Bruce

  • 1 Post
  • 0 Reply Likes
I'm using LR 4.4. My email client is Windows Live Mail 2011. Not only do my messages sent through LR4.4 fail to be saved in the "Sent Items" folder, but the text of my messages fails to appear in the main text area of the messages. Instead my text messages are included as html attachments. I don't want my messages to be included as attachments, but to be seen, obviously, in the main body of the email. What do we need to do to have the text appear in the main body of the email.

Bruce
Photo of Steen Winther

Steen Winther

  • 0 Posts
  • 0 Reply Likes
Emily Fu
It has now been 7 month since your posting. Where are we standing? I just bought LR 4.0 and the following month the LR 5.0 came out. It was not announced that the new version was ready for release when I bought mine - so please don't tell me that it I'll have to upgrade :-|
Photo of Alan Haynes

Alan Haynes

  • 8 Posts
  • 3 Reply Likes
Official Response
I just tried this in Lightroom 5. It works now. I exported an image from Lightroom 5 using the built-in export preset called "For Email" under Lightroom Presets. After I sent the email, I checked my Sent Mail folder and found it listed there. I did not have to manually tell Outlook to save it. So, it appears this issue is fixed in LR5.
(Win 7 64-bit, Microsoft Outlook 2010 Pro)
Photo of Steen Winther

Steen Winther

  • 0 Posts
  • 0 Reply Likes
Hi Alan
Great to hear. I just don't feel like paying 75$ for the upgrade just so that can send and save my emails :-)

(Win7, 64 bit, MS Outlook 2007)