0

I am trying to export the HTML of a template to try and see if I can send an email that looks exactly like the template, however it seems I am missing something as the results looks styleless.

Here is the template example I am trying to extract the HTML from : image

and here is the result in an online template viewer : image

Is not everything in the data.html from the response of extractHTML? What am I missing here?

2
  • "as the results looks styleless" - how are the styles actually embedded into your HTML email? Commented Nov 22, 2024 at 10:25
  • What's your exact process for getting the HTML, and what program are you using to view it? What is "an online template viewer" -- why aren't you just using a straight html file direct from your local drive? Commented Dec 11, 2024 at 0:23

1 Answer 1

0

A bit stupid of my part, the string was actually filled with \n and double quotes, I needed to replace all these characters for the html string to be normally formatted

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.