title: Email Blast - Adding an .ics ( Calendar Event ) to an anchor tag and having it open within Outlook
body: <p><strong><a href="http://jsfiddle.net/MathiasaurusRex/Kyn2g/2/" rel="nofollow">Link to JSfiddle</a></strong></p>
  
  <p>My first attempt at an HTML email blast and I'm kind of stuck on attaching an .ics and having it open within outlook or whatever their preferred email client is instead of downloading the .ics file directly.</p>
  
  <p>The requirement
   1. Clicking on the image adds an event to your calendar. (I prefer this not to be a hosted .ics file, but my searching has not led me to a way to hardcode the .ics within the HTML email)</p>
  
  <p>Here's the offending HTML:</p>
  
  <pre><code>&lt;a href="webcal://http://mathiasprovinggrounds.com/WinterWunderman/WundermanWinterParty.ics"&gt;&lt;img class="image_fix" src="http://i.imgur.com/SvlJYLU.jpg" alt="Wunderman Winter Party!" title="We Survived the Holidays! Until next year..." width="x" height="x" /&gt;&lt;a href=""&gt;
  </code></pre>
  
  <p>Currently when the email is sent and the user clicks on the image, the calendar is downloaded via their preferred web browser and not opened directly in outlook.</p>
  
  <p>I've tried the following:</p>
  
  <ol>
  <li><p>Hosting the .ical directly and using href="http://mathiasprovinggrounds.com/WinterWunderman/WundermanWinterParty.ics"</p></li>
  <li><p>Using the webcal attribute as found <strong><a href="http://microformats.org/wiki/hcalendar-authoring#Add_subscribe_to_events_link" rel="nofollow">here</a></strong>.</p></li>
  </ol>
  
  <p>Is there a specific way I could hard code an .ics instead of hosting it on my server? That seems to be the ideal solution, but the only results I have found would include PHP and I would like to keep everything within a single HTML.</p>