[英]How to send an email using client side gmail API which have html content and an image as attachment
[英]How to disable Email client specific(gmail,outlook) Automatic content in the email
我添加了以下代碼=>
<span style="font-size:12px;"><b>Name:</b></span></font><font size="1"><span style="font-size:12px;"> Pratik</span>
但是在瀏覽器中它呈現如下(在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>
也在Gmail中,而不是那里
因此,不必要地浪費了空間。我不希望電子郵件客戶端特定的輸出,但我只想顯示的內容像第一行。
怎么做 ? 謝謝。
據我所知,解決方案是使用表而不是span或div,因為在處理HTML電子郵件時,表是您的朋友。 有一篇文章可能對您有所幫助
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.