Skip to main content
Answer

Can I have two "Body" sections in Gmail by Zapier, one specified as "Plain" and the other "HTML"??

  • November 18, 2024
  • 6 replies
  • 90 views

tslyons
Forum|alt.badge.img

I need to embed a logo at the top of an email generated in Zapier in response to a Paypal donation.  

I see that I need an HTML <img> tag but the rest of the email body is type "Plain".  Can I have two "Body" sections in Gmail by Zapier, one specified as "Plain" and the other "HTML"?

Thanks for any guidance.

 

Best answer by tslyons

It’s funny… the HTML that I included in my note was cut from the W3Schools site/IMG page - I did not have it in the Zap - but the advice proved very helpful just the same, as when I re-pasted the IMG tag into the Zap mail body it worked just fine, so maybe I inadvertently had an unprintable character in the original or something.  Anyway, it’s working fine now and I just turned on the Zap, so heartfelt thanks to you all for your support.  Great group!!

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

6 replies

ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • November 18, 2024

Hi there ​@tslyons,

Unfortunately, you can only choose one in the Email body type. You might need to format your email body to full HTML for more flexibility.

Hopefully, this helps.


tslyons
Forum|alt.badge.img
  • Author
  • Beginner
  • November 18, 2024

Thank you, Ken.  A few <p> and <br> tags and I’ve got the mail formatted to my liking, but for some reason the src= address of the logo isn’t being picked up.  To get a web address we uploaded the logo to our web site home page  -  from a right click on the image, the URL of the logo is 

 http://www.nafasiproject.org/uploads/3/2/0/2/32023377/nafasi-logo_orig.png

The URL fails to load in the try-i-yourself window @ w3schools, though it loads fine from my Chrome browser.

<!DOCTYPE html>
<html>
<body>

<h1>The img element</h1>

<img src="http://www.nafasiproject.org/uploads/3/2/0/2/32023377/nafasi-logo_orig.png" alt="Nafasi logo" width="500" height="600">

</body>
</html>

 

I’m not sure where to look for the HTML failure to load (logs of some type?)

Any idea what’s wrong or how to troubleshoot it?  I very much appreciate your help.

 

 


Badger
Forum|alt.badge.img+5
  • New
  • November 22, 2024

I am sorry if this is silly but in your html gmail do not include these tags 
<!DOCTYPE html> <html> <body> </body> </html>

Just use the img tag. 

It loads fine for me in both chrome and edge. 


JammerS
Forum|alt.badge.img+6
  • Zapier Staff
  • November 25, 2024

Hi ​@tslyons,
 
We just wanted to see how everything is going with your Zap. Did Badger's recommendation get the job done? Feel free to reach out if you need further assistance with your Zap. We're glad to address any concerns and assist you.
 
We're looking forward to your response.


tslyons
Forum|alt.badge.img
  • Author
  • Beginner
  • Answer
  • November 25, 2024

It’s funny… the HTML that I included in my note was cut from the W3Schools site/IMG page - I did not have it in the Zap - but the advice proved very helpful just the same, as when I re-pasted the IMG tag into the Zap mail body it worked just fine, so maybe I inadvertently had an unprintable character in the original or something.  Anyway, it’s working fine now and I just turned on the Zap, so heartfelt thanks to you all for your support.  Great group!!


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • November 26, 2024

That’s awesome news, ​@tslyons! So glad to hear it’s working now. 🎉

It could well have just been down to some unprintable character that was causing an issue. Anyway, it sounds like you’re all set for now but if anything changes please do reach back out to the Community and we’ll be happy to assist. In the meantime, happy Zapping! ⚡