How do you create a mailto: link without the (to) part

混江龙づ霸主 提交于 2019-12-03 05:23:27

问题


How do you properly construct a mailto: link without the part. mailto:someaddress@example.com? I dont want the address and just want whats in the parameters afterward to be filled in through the mailto.


回答1:


Yes you can

mailto:?body=tisbody&subject=thisbethesubject



回答2:


Did you mean

<a href="mailto:"></a>



回答3:


<a href="mailto:?subject=yoursubjecthere&amp;body=yourbodyhere">Share using Email</a>



回答4:


You can use mailto in this way

<a href="mailto:user@user.com?subject=Subject&amp;cc=CC&amp;bcc=BCC&amp;body=BODY">Clickme!</a>


来源:https://stackoverflow.com/questions/3540664/how-do-you-create-a-mailto-link-without-the-to-part

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!