Faisal Ashfaq Faisal Ashfaq - 1 month ago 7
HTML Question

URL with file:// protocol not working in HTML email

Why does this works when sent in HTML email

<a href="http://someaddress.com/Employee_Survey/index.html" target="_blank">


but this doesn't work as the tag completely gets removed off the code(when inspected using chrome inspector)?

<a href="file://10.10.1.101/Employee_Survey/index.html" target="_blank">

Answer

file: scheme URLs are:

  • Poorly supported when they include a network address
  • Frequently blocked for security reasons when they appear in a document not served over file: