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

   

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 to Share Your Newsletter on Social Media

A great newsletter shouldn't reach only your subscriber list — it can attract new readers from your social channels too....

Read more

How do you get your Mailpro account validated?

Validating your Mailpro account is the step that turns your trial into a fully active sender account — lifting send...

Read more

How to Import Your SMS Phone List

Before launching your first SMS campaign in Mailpro, you need to import your phone list correctly. Follow these steps to...

Read more

How to Reduce Your SpamAssassin Score

At Mailpro, we use SpamAssassin to evaluate every campaign before it goes out — both the email content and the...

Read more