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 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 Long Do We Keep Your Data?

Mailpro keeps your data only as long as it is needed for the services you use, your legal obligations, and...

Read more

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

Where Do I Find the SMTP Authentication Credentials in Mailpro?

To send messages through Mailpro’s SMTP relay you need four pieces of information: server host, port, username and password. They...

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

Unleash the Power of Professional Email Marketing

Secure, scalable, and built for impact. Join Mailpro™ today and enjoy 500 free credits to send your first campaign.
Start Sending for Free