If Mailpro refuses to save your message with "iframe or JavaScript detected", it's a security measure. Those elements are not accepted in newsletters.
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
- Identify the offending element (review the HTML)
- Search for
<iframe>and<script>tags - Remove those tags entirely
- Replace with clickable images or links
- Save again
Use this instead
| If you wanted to… | Use |
|---|---|
| Embed a video | Thumbnail image + link |
| Insert a form | Button to a landing page |
| Animate a counter | Animated GIF |
| Track clicks | UTMs (built into Mailpro) |
Need help cleaning the HTML? Contact us via the contact form.