如何使用Mailto URL发送带有主题的邮件? [英] How to send mail with a Subject using a Mailto URL?
本文介绍了如何使用Mailto URL发送带有主题的邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在我的网站上创建一个 Mailto链接
,该网站假定在主题部分包含产品名称或产品页面网址
。我怎样才能做到这一点?
Exp:当您通过 eBay
收到一封关于您正在销售或购买的产品的电子邮件时,您会自动知道哪些产品电子邮件是关于通过在主题部分中查看产品名称。
我该如何做到这一点?
解决方案
< a href =mailto:example@foo.com?subject = hello world> Email Me!< / a>
互联网档案:
相关Stackoverflow问题:
I need to make a Mailto link
to my website which is suppose to contain either the product name or the product page URL in the subject section
. How can I do it?
Exp: When you get an email through eBay
about a product you are selling or buying, you automatically know what product that email is about by seeing the product name in the subject section.
How can i do this?
解决方案
<a href="mailto:example@foo.com?subject=hello world">Email Me!</a>
Internet Archive:
- Set up an HTML mailto form without a back-end script
- HTML Mailto Attribute and Tips
- HTML Mailto Tips and Tricks
- Mailto Syntax
Related Stackoverflow Questions:
- Avoiding the Mailto Annoyance?
- Best way to obfuscate an e-mail address on a website?
- Effective method to hide email from spam bots
- What are some ways to protect emails on websites from spambots?
这篇关于如何使用Mailto URL发送带有主题的邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文