mailto:标签? [英] mailto: tags?

查看:71
本文介绍了mailto:标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何关于mailto的专家:标签?


我想设置一个链接,以便

电子邮件的主题和部分内容被填充对于简单的文本,这很容易,但是你需要使用%20来表示空格:


< a href =" mailto:no * ***@nowhere.com

?subject =您的网站

& body =此%20is%20%20%正文!">

点击这里< / a>


我想预先格式化正文,如下所示:


名称: |

地址:|

邮编:|

电邮:|


[The |只是为了表明我添加了标签]


我已经尝试了所有预期的东西,比如%13或%0A,但我只是得到一个
文本中
blob。


能否完成?

Any experts on mailto: tags?

I want to set a link so that the subject and some of the body of the
email is filled in. This is easy for simple text, although you need to
use %20 for spaces:

<a href="mailto:no****@nowhere.com
?subject=Your web site
&body=This%20is%20the%20%body!">
click here</a>

I want to pre-format the body text, like this:

Name: |
Address: |
Postcode: |
Email: |

[The | are just to show that I''ve added tabs]

I''ve tried all the expected things, like %13 or %0A, but I just get a
blob in the text.

Can it be done?

推荐答案




Val写道:


Val wrote:
我想设置一个链接,以便主题和
电子邮件的一些正文虽然你需要使用%20作为空格,但这对于简单的文本很容易:

< a href =" mailto:no **** @ nothinghere。 com
?subject =您的网站
& body =此%20is%20%20%正文!">
点击此处< / a>
我想预先格式化正文,如下:

姓名:|
地址:|
邮编:|
电子邮件:|

[|只是为了表明我添加了标签]
I want to set a link so that the subject and some of the body of the
email is filled in. This is easy for simple text, although you need to
use %20 for spaces:

<a href="mailto:no****@nowhere.com
?subject=Your web site
&body=This%20is%20the%20%body!">
click here</a>

I want to pre-format the body text, like this:

Name: |
Address: |
Postcode: |
Email: |

[The | are just to show that I''ve added tabs]




< a

href =" mailto:no **** @ nowhere.com?subject =您的%20web%20site& amp; body =名称:%09%0D%0A地址:%09%0D%0APo stcode:%09%0D%0AEmail:%09%0D%0A">点击

这里< / a>


雷神


-
http://thorweb.anta.net/


Val< va ****** @ hotmail.com>写道:
Val <va******@hotmail.com> wrote:
mailto上的任何专家:标签?


不,因为没有这样的事情。但是我们知道你的意思。

我想设置一个链接,以便填写主题和
电子邮件的一些内容。这对于简单的文本很容易,尽管你需要使用%20作为空格:

< a href =" mailto:no **** @ nowhere.com
?subject =您的网站
& body =此%20is%20%20%正文!">
点击此处< / a>


1.你需要逃避& as& amp;

2.为什么要将%20用于某些(在你的身体中)空间而不是全部

时间(在你的主题中)? br />
3.这是不可靠的,取决于用户拥有的浏览器和电子邮件客户端(如果

any!)。你想真正收到这些电子邮件

还是你很高兴有一部分人会陷入黑洞?

我想预先格式化正文,喜欢这样:

姓名:|
地址:|
邮政编码:|
电邮:|
Any experts on mailto: tags?
No, because there''s no such thing. But we know what you mean.
I want to set a link so that the subject and some of the body of the
email is filled in. This is easy for simple text, although you need to
use %20 for spaces:

<a href="mailto:no****@nowhere.com
?subject=Your web site
&body=This%20is%20the%20%body!">
click here</a>
1. You need to escape the & as &amp;
2. Why use %20 for spaces some of the (in your body) but not all of
the time (in your subject)?
3. It''s unreliable, depending on the browser and e-mail client (if
any!) that the user has. Do you want to actually receive these emails
or are you happy for a percentage of the to drop into a black hole?
I want to pre-format the body text, like this:

Name: |
Address: |
Postcode: |
Email: |




现在为什么要创建这样的电子邮件?你是否希望用户在正确的位置输入他们的详细信息?


也许你应该考虑使用一个表格,这是更多

可靠,可以用你想要的格式发送给你结果

欲望。


史蒂夫


-

我的理论给你起见,我的异端邪说激怒你,

我从不回信,你也不喜欢我的领带。 - 医生


Steve Pugh< st *** @ pugh.net> < http://steve.pugh.net/>



Now why would you want to create an e-mail like that? Are you
expecting the user to then put in their details at the correct points?

Perhaps you should be looking at using a form, which is much more
reliable and can send you the results with whatever formatting you
desire.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don''t like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>


Val写道:
mailto:tags上的任何专家?


这不是一个html问题,所以你在这里获得的帮助可能不如其他组中那么好。

我想设置一个链接,以便填写主题和
电子邮件的正文。
Any experts on mailto: tags?
This is not an html question, so the help you get here may not be as
good as it would be in other groups.
I want to set a link so that the subject and some of the body of the
email is filled in.




这是不受支持的。尝试它会导致mailto:链接无法工作

all。当然,当客户端没有安装

电子邮件程序时,没有mailto:链接可用。


-

Brian

按照我的地址中的说明给我发电子邮件



This is unsupported. Trying it risks the mailto: link not working at
all. Of course, no mailto: link will work when the client has no
email program installed.

--
Brian
follow the directions in my address to email me


这篇关于mailto:标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆