When I send an email using an Email Template from Marketo, the content is duplicated. Why is that so?
For example:
-header
This sometimes happens when we keep on cloning the same asset multiple times. If this is something you followed to create the new email then I would suggest you try creating a new email using the same template but from scratch and in a different browser or maybe in incognito.
If this will not work then there can be an issue with the template and to confirm try creating the same email using a different template.
This is happening when I am creating email template via API (postman). Although the email template appears fine when I preview it but when I send the email, it duplicates the content. Is this because of API?
Please check the template for Duplicate IDs.
Sorry, I didnot understand. Which ID's?
So I created a simple email template via API. Here is how it looked at the preview on Marketo:
And when I sent it as email, here is how it is appearing in the email:
You haven’t really provided enough information for anyone to attempt to reproduce this behavior.
Please supply the exact payload(s) you’re passing via API.
Here is the curl of my request via postman
curl --location --request POST 'https://xxxxx.mktorest.com/rest/asset/v1/emailTemplates.json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer xxxxxxxx:sj' \
--form 'name="duplicate_09"' \
--form 'folder="{\"id\":27,\"type\":\"Folder\"}"' \
--form 'content=@"/Users/sarausman/Downloads/marketoTest.html"' \
--form 'description="test description"'
Surely you can understand that is not enough information to attempt to reproduce the behavior? You’re posting a file that none of us have.
my bad,
here is the content of html file:
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
Not the same body content as in your first post but at least that's something to work with.
Hi @SaraUsman,
Please check the same by creating new email. Sometimes, email editor create this type of issues in email.
Thanks,
Disha
Hi Disha,
I have tested it with multiple email templates. It is sending duplicate content.
Hi @SaraUsman,
Firstly, check you HTML of email by using w3schools validator. If there will be issues, please fix that. Otherwise, you have to add ticket to the MArketo support.
Thanks,
Disha
@Disha_Goyal6
In email editor it seems fine. But when I email it, then it shows duplicate content. Any idea whats wrong here?
Hi @SaraUsman,
Might be there will be an issue in the template as it's creating duplicate of the modules in the email.
Please try once with any another template.
Also, can you let me know when duplicate occurs when you're adding a new module or after editing the module or just creating email and send sample?
@Jasbir_Kaur
This is happening when I create a new email template and send sample
Is this content also duplicated in your editor? Email Editor 2.0 behaves very weird for me, crashes often and sometimes doesn't save stuff, so I'd be not surprised if somebody had accidentally added content elements twice.
No, in my editor it appears fine. but when i send the template as sample email, it duplicates the content