簡體   English   中英

HTML電子郵件-href屬性未在某些設備中隱藏

[英]HTML email - The href attribute did not hidden in some devices

在我的EDM中,我有:

<p class="my_class" style="cursor: pointer; text-align: center;" >
<a href="{{$my_variable}}" style="font-weight:bold;color:#2897FC;">Verify email</a></p>

它應該看起來像:

在此處輸入圖片說明

但這就是我得到的:

在此處輸入圖片說明

這是Office 365和Outlook.com中的錯誤。 當href內的URL以外的其他內容時,Office 365和Outlook.com會在電子郵件中的方括號之間顯示此內容。 所以下面的例子

<a href="Hello">world</a>

… 會成為 :

[Hello]world

唯一的解決方法是發送帶有URL的測試 完成實際發送后,URL將通過數據庫或內容塊進行填充。

測試期間的示例將以以下方式發送測試:

<a href="https://www.google.com/" style="font-weight:bold;color:#2897FC;">Verify email</a></p>

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM