简体   繁体   English

用html设置电子邮件样式,现在如何发送?

[英]styled an e-mail in html, now how do i send it?

so i've made styled e-mail but now i don't know how to send it using gmail or any other e-mail platform. 所以我已经制作了样式化的电子邮件,但是现在我不知道如何使用gmail或任何其他电子邮件平台发送它。 Apparently just copying and pasting the code into the e-mail doesn't work. 显然,仅将代码复制并粘贴到电子邮件中是行不通的。 Any ideas? 有任何想法吗? Thanks 谢谢

Interesting question! 有趣的问题! We have always used a whole tool-stack for these things (eg a CMS in which contents are edited and an mailing-tool, which would read the mail content from a URL provided by the CMS). 对于这些事情,我们一直使用完整的工具堆栈(例如,用于编辑内容的CMS和用于从CMS提供的URL读取邮件内容的邮件工具)。

However, if you do it locally on your machine with Outlook, this link might help (just tried it and it works for me): http://www.soltech-solutions.com/how-to-import-html-into-outlook-email.html 但是,如果您使用Outlook在计算机上本地完成此操作,则此链接可能会有所帮助(只需尝试一下即可使用,对我有用): http : //www.soltech-solutions.com/how-to-import-html-into- outlook-email.html

Note that creating HTML based mail that displays well on many platforms is quite a challenging task with many caveats. 请注意,创建要在许多平台上良好显示的基于HTML的邮件是一项充满挑战的艰巨任务。

Create a new email, click on “Attach File”. 创建一个新的电子邮件,单击“附加文件”。 Find your .html file, then, click on the drop down arrow next to “Insert”. 找到您的.html文件,然后单击“插入”旁边的下拉箭头。 Scroll down and click on “Insert as Text”.Your .html file should now be displayed in your e-mail as you were intending. 向下滚动并单击“以文本形式插入”。您的.html文件现在应该按预期显示在电子邮件中。 Just make sure to test any of links, etc. before sending. 只需确保在发送之前测试任何链接等即可。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM