Thursday, June 9, 2011

Attachments visible in OWA but not in Outlook

Today I had a user saying that our e-mail scanners had blocked an attachment sent to him. Upon closer look, I realised that this wasn’t the case and looking at the transport logs I saw that an e-mail with more than 1MB was delivered to the users!
So, with the user’s permission I look into his mailbox. By using OWA I was able to see, open and save both attachments, but when I looked in Outlook (2007 v12.0.6557.5001 with SP2) there just weren’t there! However, the e-mail size in Outlook was showing more than 1MB, so they had to be there...

Tried forwarding the e-mail from Outlook to myself, and nothing... Tried from OWA and I received them with no problems!

I found this post on Microsoft Support which says this sometimes happens with inline attachments in Exchange 2007 SP1 (which is what we are currently using – I know, don’t ask!...).

Basically, for Outlook 2007 the attachment is hidden and it is unavailable for download. In OWA, it is still hidden but you can download and view it.

If you are using Exchange Server 2010:
- Stop the Exchange Transport service;
- Locate the EdgeTransport.exe.config file (located in the following path: :\Program Files\Microsoft\Exchange Server\Bin\);
- In the EdgeTransport.exe.config file, add the following entry between the /appSettings element and the /appSettings element: add key="TreatInlineDispositionAsAttachment" value="true" /
- Restart the Transport service.

(Please note I had to remove the < > tags because of the HTML here...)


With Exchange Server 2007, just install Service Pack 2 and run the following command:
Set-OrganizationConfig –ShowInlineAttachments $True


As soon as I am able to test this, I will post here the results.

Hope this helps!

10 comments:

  1. Hi I am seeing the same problem. How did you get on with this?
    Thanks
    Ben

    ReplyDelete
  2. "Set-OrganizationConfig –ShowInlineAttachments $True"

    That command has a mistake in it. Use this command instead:
    "set-OrganizationConfig -ShowInlineAttachments:$true"

    See http://support.microsoft.com/kb/954684 for further information.

    ReplyDelete
  3. Hi Ben,

    Unfortunately we are still on SP1 (don’t ask!) so I still haven’t had the chance to test it... :-S

    Michael: have you tried this?


    Best regards,
    Nuno

    ReplyDelete
  4. Hi Michael,

    Thank you for your post/correction.
    Most of Microsoft documentation uses a notation of Parameter:$True/$False but I honestly prefer Parameter $True/$False without the colon and with a space (I think it makes it easier to read.
    However, whenever I use the –Confirm parameter, I found that you have to use the first notation (-Confirm:$false) otherwise it will simply ignore it when in scripts...
    I haven’t tested this command, so I can’t say if you can use both notations or not, but you are probably right.

    By the way, have you tested this command to try and fix this attachment issue?


    Best regards,
    Nuno

    ReplyDelete
    Replies
    1. http://support.microsoft.com/kb/954684/EN-US

      Delete
    2. Thank you for your comment!
      However that's the link I already mentioned in the post ;-)

      Delete
  5. Nuno,

    Have you attempted this yet? I'm in the same boat right now, user can view attachment on cell phone or OWA, but in Outlook, nothing. We're still on SP1 RU10 so I'm looking into upgrading to SP2 finally right now. Just curious what your results were?

    Thanks,

    Kyle

    ReplyDelete
    Replies
    1. Hi Kyle,

      Unfortunately I left the organization where I was having this issue before I was able to test it... The new one was already on SP3 before we migrated to 2010, so I have never been able to test this change... Sorry!

      Regards,
      Nuno

      Delete
    2. No worries. I'll be upgrading tonight so I'll let you know how it goes.

      Delete