简体   繁体   English

如何禁用特定于电子邮件客户端的(gmail,outlook)电子邮件中的自动内容

[英]How to disable Email client specific(gmail,outlook) Automatic content in the email

I added following code => 我添加了以下代码=>

<span style="font-size:12px;"><b>Name:</b></span></font><font size="1"><span style="font-size:12px;"> Pratik</span>

But in browser it is rendering as follows(in outlook) ,which i dont want. 但是在浏览器中它呈现如下(在Outlook中),我不想要。

<span style="font-size:13px;">
<div style="margin-top:14pt;margin-bottom:1em;"><br>

<font size="1"><span style="font-size:12px;"><b>Name:</b></span></font><font size="1"><span style="font-size:12px;"> Pratik</span></font></div>

</span>

Also in Gmail , instead of There is 也在Gmail中,而不是那里

So unnecessarily space is wasted .I dont want the email client specific output ,But only the content i want to show like 1st line. 因此,不必要地浪费了空间。我不希望电子邮件客户端特定的输出,但我只想显示的内容像第一行。

How to do that ? 怎么做 ? Thanks. 谢谢。

As far as I can sense the problem, the solution is to use tables instead of span's or div's because tables are your friend when it comes to HTML emails. 据我所知,解决方案是使用表而不是span或div,因为在处理HTML电子邮件时,表是您的朋友。 There is an article which you may find helpful 有一篇文章可能对您有所帮助

Mailchimp WIKI Mailchimp维基

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用客户端 gmail API 发送电子邮件,其中包含 html 内容和图像作为附件 - How to send an email using client side gmail API which have html content and an image as attachment 如何在Outlook客户端的电子邮件中发送JavaScript创建的.png? - How to send javascript created .png in email for outlook client? gmail api使用html中的内容发送电子邮件 - gmail api send email using content in html 如何检查 email 不是 gmail 或 hotmail - How to check if email is not a gmail or hotmail Office 365邮件应用程序撰写模式-无法在Outlook桌面客户端中获取电子邮件正文内容 - Office 365 Mail App compose mode - Unable to get email body content in outlook desktop client 在电子邮件客户端中禁用右键单击图像 - Disable right click on image in email client 如何在html电子邮件模板中覆盖gmail视口? - How to override gmail viewport in html email template? 如何在 angular 和 firebase 中使用 Gmail 对电子邮件进行身份验证? - how to get email authenticate with Gmail in angular and firebase? 如何检测是否通过gmail中的电子邮件单击了链接 - How to detect if a link was clicked through an email in gmail 如何实现 Gmail 的 Compose Email to 字段 - How to Achieve Gmail's Compose Email to field
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM