If Mailpro refuses to save your message with "iframe or JavaScript detected", it's a security measure. Those elements are not accepted in newsletters.

Why the block? most email clients (Gmail, Outlook, Yahoo) block iframe and JavaScript. They wouldn't work anyway — and they can trigger spam filters.

Most common sources

  • HTML code imported from a web page
  • Code copied from a CMS (WordPress, Wix)
  • Tracking pixels using JavaScript (Analytics, Facebook Pixel…)
  • Embedded videos via iframe (YouTube, Vimeo)

Step-by-step fix

  1. Identify the offending element (review the HTML)
  2. Search for <iframe> and <script> tags
  3. Remove those tags entirely
  4. Replace with clickable images or links
  5. Save again

Use this instead

If you wanted to…Use
Embed a videoThumbnail image + link
Insert a formButton to a landing page
Animate a counterAnimated GIF
Track clicksUTMs (built into Mailpro)

Need help cleaning the HTML? Contact us via the contact form.

Stay focused on what matters. Start free with Mailpro — the editor produces clean, compliant HTML.

Previous question

Previous question     Next question

Next question

You might also be interested in:

How to Check if Your Email Address Is Blacklisted

An email address itself doesn’t end up on a blacklist directly — what actually gets listed is the IP address...

Read more

How do you get your Mailpro account validated?

Mailpro validates an account by verifying the identity of the person or company behind it. You upload a few documents...

Read more

Is there a way to test my spam level? How to run a spam email test

Yes. A spam email test sends a copy of your campaign to a test address, runs it through the same...

Read more

Where Do I Find My SMTP Server in Mailpro?

Your Mailpro SMTP server details are everything you need to send transactional or marketing email from your app, CRM, CMS...

Read more

Can I increase the monthly credits number?

Yes — you can raise your monthly credit volume at any time from your Mailpro account. No interruption, no extra...

Read more