使用mailto设置电子邮件 [英] Setting email using mailto
问题描述
我正在尝试将个人电子邮件地址放在我发送的回复中
另一个人。
我可以通过这样做来让它工作以下:
message.Body = resumeTop& vbCrLf& vbCrLf& 对于申请人: &
session(" firstName")& " " &安培;会话(lastName)& vbCrLf& 电子邮件:
mailto:" &安培;会话(电子邮件)& vbCrLf& vbCrLf& resumeBottom
当电子邮件发送给此人时,电子邮件链接有效。问题是
,即mailto:也在outlook中显示(mailto:tr*@aol.com)。我希望
显示的是 tr*@aol.com 并打开电子邮件客户端。
怎么做的?
谢谢,
汤姆。
某些邮件客户端会自动链接。一个电子邮件地址。对于
示例,在您的帖子中, tr*@aol.com 是我在Outlook Express中的链接。如果您想要确定,那么您必须生成一个html电子邮件并使用< a
href ="mailto: " &安培;会话(电子邮件)& """>" &安培;会话(电子邮件)& "< / a>。"
但是,如果电子邮件客户端支持html电子邮件,那就太好了
它也会自动将 tr*@aol.com 转换为链接,而无需将
放入邮件:在其前面。
Ray在工作
" tshad" < TS ********** @ ftsolutions.com>在消息中写道
新闻:%2 **************** @ tk2msftngp13.phx.gbl ...我是试图把一个人的电子邮件地址放在我发送给另一个人的回复中。
我可以通过以下方式让它工作:
message.Body = resumeTop& vbCrLf& vbCrLf& 对于申请人: &
会话(" firstName")& " " &安培;会话(lastName)& vbCrLf& 电子邮件:
mailto: &安培;会话(电子邮件)& vbCrLf& vbCrLf& resumeBottom
当电子邮件发送给此人时,电子邮件链接有效。问题是
mailto:也在outlook中显示(mailto:tr*@aol.com)。我希望它显示的是 tr*@aol.com 并打开电子邮件客户端。
>怎么做的?
谢谢,
Tom。
" ; Ray Costanzo [MVP]" <我的第34号商业广告的名字>写在
消息新闻:OH ************** @ tk2msftngp13.phx.gbl ...一些邮件客户端将自动生成" linkify"一个电子邮件地址。对于
示例,在您的帖子中, tr*@aol.com 是我在Outlook Express中的链接。
如果
你想确定,你必须生成一个html电子邮件并使用
< a
href ="" mailto:" &安培;会话(电子邮件)& """>" &安培;会话(电子邮件)& < / a>。
但是,如果电子邮件客户端支持html电子邮件,那么该死的好机会
它还会自动生成 tr*@aol.com 进入链接,没有你的
把邮件放在它前面。
我试过你你的href,它甚至没有给我一个链接。我之前遇到过这个问题,并且不确定是什么造成的。当我使用你的线路时,我会获得:
a href =" mailto:tf*@ftsolutions.com"> tf * @ ftsolutions。 com< / a>
但没有链接。
我错过了什么吗?
谢谢,
汤姆
雷在工作
tshad < TS ********** @ ftsolutions.com>在消息中写道
新闻:%2 **************** @ tk2msftngp13.phx.gbl ...我试图把我发送回复的人的电子邮件地址
另一个人。
我可以通过以下方式让它工作:
message.Body = resumeTop& vbCrLf& vbCrLf& 对于申请人: &
会话(" firstName")& " " &安培;会话(lastName)& vbCrLf& 电子邮件:
mailto: &安培;会话(电子邮件)& vbCrLf& vbCrLf& resumeBottom
当电子邮件发送给此人时,电子邮件链接有效。问题是
mailto:也在outlook中显示(mailto:tr*@aol.com)。我
想要要显示的是 tr*@aol.com 并带来电子邮件客户端。
怎么做的?
谢谢,
汤姆。
" tshad" < TS ********** @ ftsolutions.com>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP14.phx.gbl ...
我试过你的href,它甚至没有给我一个链接。我以前遇到过这个问题而且不确定是什么造成的。当我使用你的线路时,我得到:
a href =" mailto:tf*@ftsolutions.com"> tf * @ ftsolutions。 com< / a>
好吧,首先,你忘记了<在a href = ...之前,你的
电子邮件是纯文本还是HTML?你能用你创建和发送电子邮件的代码片段吗?
Ray at work
I am trying to put an persons email address in a response I am sending
another person.
I can get it to work by doing the following:
message.Body = resumeTop & vbCrLf & vbCrLf & "For Applicant: " &
session("firstName") & " " & session("lastName") & vbCrLf & "Email:
mailto:" & session("email") & vbCrLf & vbCrLf & resumeBottom
When the email gets to the person, the email link works. The problem is
that the "mailto:" also shows in outlook (mailto:tr*@aol.com). What I want
it to show is tr*@aol.com and bring up the email client.
How is that done?
Thanks,
Tom.
Some mail clients will automagically "linkify" an e-mail address. For
example, in your post, tr*@aol.com is a link for me in Outlook Express. If
you wanted to be certain, you''d have to generate an html e-mail and use "<a
href=""mailto:" & session("email") & """>" & session("email") & "</a>."
But, if the e-mail client supports html e-mail, there''s a damn good chance
it will also automagically make tr*@aol.com into a link without your having
to put a mailto: in front of it.
Ray at work
"tshad" <ts**********@ftsolutions.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...I am trying to put an persons email address in a response I am sending
another person.
I can get it to work by doing the following:
message.Body = resumeTop & vbCrLf & vbCrLf & "For Applicant: " &
session("firstName") & " " & session("lastName") & vbCrLf & "Email:
mailto:" & session("email") & vbCrLf & vbCrLf & resumeBottom
When the email gets to the person, the email link works. The problem is
that the "mailto:" also shows in outlook (mailto:tr*@aol.com). What I want it to show is tr*@aol.com and bring up the email client.
How is that done?
Thanks,
Tom.
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:OH**************@tk2msftngp13.phx.gbl...Some mail clients will automagically "linkify" an e-mail address. For
example, in your post, tr*@aol.com is a link for me in Outlook Express.
If
you wanted to be certain, you''d have to generate an html e-mail and use
"<a
href=""mailto:" & session("email") & """>" & session("email") & "</a>."
But, if the e-mail client supports html e-mail, there''s a damn good chance
it will also automagically make tr*@aol.com into a link without your
having
to put a mailto: in front of it.
I tried you your href and it didn''t even give me a link. I''ve had this
trouble before and am not sure what is causing it. When I use your line, I
get:
a href="mailto:tf*@ftsolutions.com">tf*@ftsolutions. com</a>
but no link.
Am I missing something?
Thanks,
Tom
Ray at work
"tshad" <ts**********@ftsolutions.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...I am trying to put an persons email address in a response I am sending
another person.
I can get it to work by doing the following:
message.Body = resumeTop & vbCrLf & vbCrLf & "For Applicant: " &
session("firstName") & " " & session("lastName") & vbCrLf & "Email:
mailto:" & session("email") & vbCrLf & vbCrLf & resumeBottom
When the email gets to the person, the email link works. The problem is
that the "mailto:" also shows in outlook (mailto:tr*@aol.com). What I
wantit to show is tr*@aol.com and bring up the email client.
How is that done?
Thanks,
Tom.
"tshad" <ts**********@ftsolutions.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
I tried you your href and it didn''t even give me a link. I''ve had this
trouble before and am not sure what is causing it. When I use your line,
I get:
a href="mailto:tf*@ftsolutions.com">tf*@ftsolutions. com</a>
Well, for one thing, you forgot the < before the a href=... But is your
e-mail in plain text or HTML? Can you show the code snippet that you''re
using to create and send the e-mail?
Ray at work
这篇关于使用mailto设置电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!