Note that there are some explanatory texts on larger screens.

plurals
  1. POOutlook strips URL hash from email
    primarykey
    data
    text
    <p>Our app generates an email that includes a link with a hash fragment. </p> <ul> <li>When an Outlook 2010 user clicks the HTML link (within the <code>&lt;a&gt;</code> tag), the URL is opened but mysteriously <em>excludes</em> the hash fragment.</li> <li>If the user clicks the plain URL (that Outlook converts to a clickable link), the full URL opens correctly.</li> </ul> <p>Here is the relevant code from our Rails app, if that helps:</p> <pre><code>mail(from: @message.from, to: @message.to, cc: @message.cc, bcc: @message.bcc, subject: @message.subject) do |format| format.html { render text: @message.body_text } end </code></pre> <p>Email message (truncated; using Twitter URLs in place of our app URLs, which follow a similar pattern):</p> <pre class="lang-html prettyprint-override"><code>Subject: Hello Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit &lt;html&gt; &lt;head&gt; &lt;meta content='text/html; charset=utf-8' http-equiv='content-type'&gt; &lt;title&gt;title&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;table id='message_body_template'&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;a href="http://twitter.com/#!/cnn" title="" target=""&gt;Click here&lt;/a&gt; to learn more.&lt;/p&gt; &lt;p&gt;Plain text link: http://twitter.com/#!/cnn&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p><kbd>Click here</kbd> opens the Twitter home page, while the plain text "link" opens CNN's Twitter page. Can anyone explain why?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload