开发者

Email Current URL in Mobile Safari / Android

开发者 https://www.devze.com 2023-04-02 18:26 出处:网络
Does anyone know a way I can provide a link in HTML for users to click on which would open their device\'s mail reader with a pre-w开发者_如何转开发ritten subject line and a blank \"To:\" field?

Does anyone know a way I can provide a link in HTML for users to click on which would open their device's mail reader with a pre-w开发者_如何转开发ritten subject line and a blank "To:" field?

The idea is to let users mail the URL of a website.


You could try:

<a href="mailto:?subject=Your+subject">Your text</a>

Reference: http://www.ianr.unl.edu/internet/mailto.html


<a href="mailto:?subject=Subjet here&body=Body of email here">Email me</a>
0

精彩评论

暂无评论...
验证码 换一张
取 消