Hyperlink to Email Address

S

Suzanne

Is there a way of automatically filling in the subject
line of the email hyperlink when it's clicked. Eg, If I
had reference numbers on a web page that were hotlinked to
an email address, can I have the reference number
automatically loaded into the subject line? If so, please
advise how I do this?

Thanks.
 
K

Kevin Spencer

<a
href=mailto:[email protected]?subject=There%20are%20spaces%20in%20this
%20Title>E-Mail</a>

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
M

MD Websunlimited

Hi Suzanne,

You could use

<a href="mailto:[email protected]?subject=reference #13411">Email</a>

However you're inviting spam using mailto links, consider using J-Bots SpamStopper instead.
http://www.websunlimited.com/order/Product/SpamStopper/spam_stopper_help_dir.htm
--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
Need to protect your web pages Page Protector Pro
http://www.websunlimited.com/order/Product/PagePro/pagepro.htm
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
 
S

Suzanne

Huge thanks to Kevin and Mike for their advice in answer
to my query. I am not a programmer and so was a wee bit
scared but managed to figure it out based on what you both
gave me.

Thank you! :)
-----Original Message-----
Hi Suzanne,

You could use

<a href="mailto:[email protected]?subject=reference
#13411">Email said:
However you're inviting spam using mailto links, consider
using J-Bots SpamStopper instead.
 
A

arno

Hi Mike,
However you're inviting spam using mailto links

are spammers scanning only for "mailto" links or for any "text" with an "@"?
I am thinking of an asp-mail-form, where I have to specify a recipient.

regards

arno
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top