Passing parameter to @HTML_PREVIEW_LINK for Outlook email template

Answered Passing parameter to @HTML_PREVIEW_LINK for Outlook email template

  • 2012년 3월 7일 수요일 오후 7:46
     
     
    I've been assigned the task of passing a parameter to our email template when a user clicks "Web Preview" in the message window pane. The problem is that I can find no documentation concerning how to accomplish this. I've currently set up the link as href="@HTML_PREVIEW_LINK&msgVersion=web". This however produces a "The Link has been disabled to protect your security" error message. Does anyone know where the documentation is for this property? I've tried looking but have been unable to find anything directly addressing this situation.

모든 응답

  • 2012년 3월 8일 목요일 오전 7:52
    중재자
     
     

    Hi rabosse,

    Thanks for posting in the MSDN Forum.

    Where the "Web Preview" is? Is it in the mail body or other place?

    Have a good day,

    Tom


    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us

  • 2012년 3월 8일 목요일 오후 4:45
     
     

    It's in the mail body.

    Robert

  • 2012년 3월 9일 금요일 오전 3:08
    중재자
     
     

    Hi rabosse,

    I searched all of the document which I can find, however I never find href's value begin with the character "@". And I tried to create a new mail item and fill you html code into its body. When I click it, nothing will happen. Would you share your mail as a msg file on skydrive for further research?

    Have a good day,

    Tom


    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us

  • 2012년 3월 12일 월요일 오후 5:43
    중재자
     
     답변됨

    Hi Robert,

    I'm not sure I fully understand your exactly scenario, so I think it would be helpful if you could explain this is in "end user" terms instead of what you are trying to do via your solution.

    Oveall, Outlook does not really support active content in the body of e-mail message for various security reasons. The list of what HTML tags are supported by Word/Outlook is located here:

    http://msdn.microsoft.com/en-us/library/aa338201(office.12).aspx

    It sounds like you are wanting some kind of mail-merge-to-email functionality. If that is the case, then this is a feature that is built-in. However, it does have some limitations, so if you are running into one of those, there really is no way to add functionality to the built-in merge functionality. However, you could instead create a custom solution to dynamically generate the message body. In other words, by implementing a custom mail merge solution from scratch using the Outlook/Word object models.

    But first, if you could expand a bit more on what you are trying to accomplish, that would be helpful.


    Bill Jacob - Microsoft Customer Service & Support - Developer Messaging