Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7857267
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T20:59:13+00:00 2026-06-02T20:59:13+00:00

I send out an email which has an html attachment. Some recipients read the

  • 0

I send out an email which has an html attachment. Some recipients read the mail on a specific web portal (NHS webmail, which is MS Exchange), and try to save the attachment from the portal. However, the JavaScript is silently stripped out of the attachment, and the recipient ends up with a blank page. All script tags are stripped out- even links to external scripts.

Question: are there any smarts I can put in the html, so that the user is notified that they have a useless page, instead of ringing me to ask why there’s nothing on it? I know it’s a long shot, but I don’t know much html, and I thought it was worth a try. If it helps, the user is unlikely to be using IE6, IE7, or IE8.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T20:59:15+00:00Added an answer on June 2, 2026 at 8:59 pm

    Create a tag:

    <div id="noScriptsFound">Sorry, your page is messed up by your lame mail agent. Please download it in some other way</div>

    Then add a script (directly after the div to execute asap):

    <script>
        document.getElementById("noScriptsFound").style.display = "none";
    </script>
    

    Now, if something cuts off your ‘script’ tags while saving an attachment, the browser will not execute the script tag, therefore the text will remain visible.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Problem: I send out an email (using phpmailer and sendmail) which has a complex
I'm using CFMAIL to send out an email. For some reason, when I edit
I've got a C# application going that needs to send out an html email
We send out registration urls to clients via email. Some of the email clients
My app has an option to send out the log, which is store in
ASP.NET is great for creating html. We send out a lot of html email
First some background : I'm writing a system that occasionally has to send out
I want to create a class which has a function to send email. I
I send out a newsletter email containing URLs to a https website that then
i have an app that sends out email but i have to only send

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.