473,789 Members | 2,617 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Subect setting in Mailto:

HI;

Quick question: How do I specify an email subject when using the setup

<a href="mailto:do **@cats.com">Ma il to the cat</a>

Can someone show me how it would look if the subject was "mice"?

Thanks a lot

John Baker
Jul 24 '05 #1
13 7098
In article <<ev*********** *************** ******@4ax.com> ,> John
Baker (Ba******@Veriz on.net) says...
HI;

Quick question: How do I specify an email subject when using the setup

<a href="mailto:do **@cats.com">Ma il to the cat</a>

Can someone show me how it would look if the subject was "mice"?


It can't be done, at least not reliably; short of putting together
a FormMail-type script.

Stephan
--
Stephan Bird MChem(Hons) AMRSC
Currently in Caernarfon, Wales
Jul 24 '05 #2
Stephan:

How about unreliably, or alternativley, how would a script work that would give me the
same result with the message name?

Best

John

Stephan Bird <st************ @mad.scientist. comREMOVE> wrote:
In article <<ev*********** *************** ******@4ax.com> ,> John
Baker (Ba******@Veriz on.net) says...
HI;

Quick question: How do I specify an email subject when using the setup

<a href="mailto:do **@cats.com">Ma il to the cat</a>

Can someone show me how it would look if the subject was "mice"?


It can't be done, at least not reliably; short of putting together
a FormMail-type script.

Stephan


Jul 24 '05 #3
"Stephan Bird" wrote:
In article <<ev*********** *************** ******@4ax.com> ,> John
Baker (Ba******@Veriz on.net) says...
Quick question: How do I specify an email subject when using the setup

<a href="mailto:do **@cats.com">Ma il to the cat</a>

Can someone show me how it would look if the subject was "mice"?


It can't be done, at least not reliably; short of putting together
a FormMail-type script.


Huh? What's unreliable about this?

<a href="mailto:do **@cats.com?sub ject=mice">Mail to the cat</a>

--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/
Jul 24 '05 #4
Previously in comp.infosystem s.www.authoring.html, Philip Ronan
<in*****@invali d.invalid> said:
Huh? What's unreliable about this?

<a href="mailto:do **@cats.com?sub ject=mice">Mail to the cat</a>


It's really no less reliable than a plain mailto: link - i.e. if your
visitor doesn't have an email program installed/configured, it won't
work.

My objection to the above is that the person sending the email is much
more likely to know what they want to email you about than the person
developing the site. It's arrogant IMHO to assume that everyone who
follows that link wants to email you about the same thing.

--
Mark Parnell
http://www.clarkecomputers.com.au
Jul 24 '05 #5
"Mark Parnell" wrote:
Previously in comp.infosystem s.www.authoring.html, Philip Ronan
<in*****@invali d.invalid> said:
<a href="mailto:do **@cats.com?sub ject=mice">Mail to the cat</a>


It's arrogant IMHO to assume that everyone who
follows that link wants to email you about the same thing.


You get a "Huh?" too.

Please explain what's so arrogant about these examples:

<a href="mailto:me @example.com?su bject=Link%20Ex change">Contact me if you
want to exchange links with this website</a>

<a href="mailto:me @example.com?s* *************** *******@example .com">
Unsubscribe</a>

<a href="mailto:me @example.com?su bject=Quote%20r equest">Email me to request
a quote</a>

Mail sent using these links could be easily siphoned off to separate
folders, making life much easier for the site operator and probably
resulting in a quicker response to the sender.

What's wrong with that?

--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/
Jul 24 '05 #6
Previously in comp.infosystem s.www.authoring.html, Philip Ronan
<in*****@invali d.invalid> said:
"Mark Parnell" wrote:
Previously in comp.infosystem s.www.authoring.html, Philip Ronan
<in*****@invali d.invalid> said:
<a href="mailto:do **@cats.com?sub ject=mice">Mail to the cat</a>
It's arrogant IMHO to assume that everyone who
follows that link wants to email you about the same thing.

<snip> <a href="mailto:me @example.com?su bject=Link%20Ex change">Contact me if you
want to exchange links with this website</a> <snip other examples> What's wrong with that?


Those particular examples aren't so bad, as the link mentions one
specific reason for emailing. The original link above assumes though
that everyone who wants to send "Mail to the cat" wants it to be about
mice. Most email links on web sites are like that - just a simple
"Contact Me", rather than "Contact Me about blah".

--
Mark Parnell
http://www.clarkecomputers.com.au
Jul 24 '05 #7
"Mark Parnell" wrote:
The original link above assumes though that everyone who wants to
send "Mail to the cat" wants it to be about mice.


Oooh, how impudent! :-D

--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/
Jul 24 '05 #8
Just to clarify:

I have a web site where people sign up for various events, but the actual e-mails go to
only three people. They need the name associated with the button click because there may
be one of a dozen events involved. If the event is about mice (and the button says "Click
here to sign up for the event about mice"), they want the subject to say mice, and if the
event is about rats they want it to say rats. That way they can easily categorize the
e-mail (automatically) and respond to it.

Best

John

Philip Ronan <in*****@invali d.invalid> wrote:
"Mark Parnell" wrote:
The original link above assumes though that everyone who wants to
send "Mail to the cat" wants it to be about mice.


Oooh, how impudent! :-D


Jul 24 '05 #9
"John Baker" wrote:
Just to clarify:

I have a web site where people sign up for various events, but the actual
e-mails go to
only three people. They need the name associated with the button click because
there may
be one of a dozen events involved. If the event is about mice (and the button
says "Click
here to sign up for the event about mice"), they want the subject to say mice,
and if the
event is about rats they want it to say rats. That way they can easily
categorize the
e-mail (automatically) and respond to it.


That's fine.

Just remember to *escape* the subject line, otherwise the links won't work
(i.e. "...?subject=He llo%2C%20World% 21", not "...?subject=He llo, World!").

There's a favelet that can do this for you. Just create a new shortcut
button in your browser's toolbar and copy this link into it (without the
line breaks, obviously):

javascript:void (prompt('Here%2 0is%20the%20con verted%20text.% 20You%20can%20c o
py%20this%20int o%20your%20mail to%20link:',esc ape(prompt('Thi s%20tool%20make s
%20text%20safe% 20for%20inclusi on%20in%20mailt o%20URIs.%20Ent er%20the%20subj e
ct%20line%20her e:'))))

--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/
Jul 24 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
13303
by: Bill Petrol | last post by:
I'm trying to send a link with a querystring as the body of an email message. My HTML syntax looks something like this: <a href="mailto:xxx@yyy.com?Subject=<? print $subject ?>&Body=<? print urlencode($url) ?>">Send an Email</a> (I've had to URLENCODE the variables first, and it works. If I don't do so, then it doesn't work.) The problem occurs when it is time to display the encoded version. It
15
24764
by: nAmYzArC | last post by:
Hi everyone, I'm setting the body of an email using values from a form firstname = bob lastname = dole ebody = 'First Name: ' + firstname + '\r\n' + 'Last Name: ' + lastname window.location.href = 'mailto:myemail@mycompany.com?subject=test
12
2980
by: ElvisIsDead | last post by:
Have a script that takes a form and emails it automatically. Here is the part: <form onSubmit="return editData();" name="estm" enctype="text/plain" method="post" action="mailto:user@domain.com?subject=Daily numbers&body=window.this.document"> I would like for it to open the default email program and let me choose an address from that form. Is this possible? Any suggestions are appreciated. Elvis
15
29921
by: Val | last post by:
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:nobody@nowhere.com ?subject=Your web site &body=This%20is%20the%20%body!"> click here</a>
10
17303
by: Adam Smith | last post by:
How can I set up a mailto with a cc or bcc as well as a subject designation. The system works for two but not three, is this a hardwired limit or have I missed something ==> <a href="mailto:registrar@econ.com?cc=webmaster@econ.com?subject=Login Problems">The Registrar at econ.com</a>
15
3259
by: tshad | last post by:
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
4
1174
by: Phil Campaigne | last post by:
Hello, I originally installed postgresql as root user and now I am setting up a development environment with cvs and a java ide and tomcat. I have everything with the exception of postgresql integreted using a non-root user. THe process I am using is to logon as postges and start the database and do queries from the command line using psql. Then I logoff and logon as phil and start tomcat and my java ide. 1.Is there a better way to...
2
6328
by: =?Utf-8?B?UGV0ZXI=?= | last post by:
Hi, I want to create a mailto link from data coming from an SQLDataSource. How do I have to change the following code to get it working? The mailto works, outlook starts with a new message, but the email address has not been filled in because I don’t know how to pass the email variable into the mailto command. <asp:HyperLink runat="server"> <A href="mailto:">
4
1991
by: appkausman | last post by:
i am using IBSERVER and trying to mail a form to my email address my code is given below form.html <html> <head> </head> <body> <form method="POST" action="mail.php"> Name: <input type="TEXT" name="subject">
0
9511
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10408
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10199
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10139
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9020
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4092
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2909
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.