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.co m
?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? 15 29921
Val wrote: 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.co m ?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.co m?subject=Your% 20web%20site&am p;body=Name:%09 %0D%0AAddress:% 09%0D%0APostcod e:%09%0D%0AEmai l:%09%0D%0A">cl ick
here</a>
Thor
-- http://thorweb.anta.net/
Val <va******@hotma il.com> wrote: 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.co m ?subject=You r web site &body=This%20i s%20the%20%body !"> click here</a>
1. You need to escape the & as &
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: |
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 wrote: 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.
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
Brian wrote: Val wrote: 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.
actually the answer is an html answer...as Steve Pugh has already
explained this is a case for a form I want to set a link so that the subject and some of the body of the email is filled in.
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.
the big problem in what is being attempted is to use "click here" as the
anchor text...using the email address would at least allow it to be copied
and pasted into an email client...howeve r the additional requirements
would be better served by using a form
--
eric www.ericjarvis.co.uk
all these years I've waited for the revolution
and all we end up getting is spin
Greetings.
In article <3h************ *************** *****@4ax.com>, Val wrote: <a href="mailto:no ****@nowhere.co m ?subject=Your web site &body=This%20is %20the%20%body! "> click here</a>
Someone correct me if I'm wrong, but isn't the "?subject=foo&b ody=bar"
syntax non-standard? If so, then any solution you find isn't guaranteed to
work on all conforming browsers anyway.
--
_
_V.-o Tristan Miller [en,(fr,de,ia)] >< Space is limited
/ |`-' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= <> In a haiku, so it's hard
(7_\\ http://www.nothingisreal.com/ >< To finish what you
Tristan Miller wrote: Someone correct me if I'm wrong, but isn't the "?subject=foo&b ody=bar" syntax non-standard?
You're right; RFC 2368 is a *proposed* standard.
Thor
-- http://thorweb.anta.net/
Eric Jarvis wrote: Brian wrote:
Val wrote:
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.
actually the answer is an html answer...as Steve Pugh has already explained this is a case for a form
Well, yes, the answer is html. :-)
--
Brian
follow the directions in my address to email me
Stan Brown wrote: In article <eIifb.488697$c F.171145@rwcrns c53> in comp.infosystem s.www.authoring.html, Brian <us*****@mangym utt.com.invalid-remove-this-part> wrote:
Val wrote:
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'm curious. Which "other groups" do you think would be more appropriate?
I dunno. I don't participate them. :) I found comp.mail.heade rs.
Seems like a stretch, that one. How about ciwa.misc? Or the mail
groups to see if any will operate the way the op wants. Perhaps
ciwa.site-design makes more sense, but then, that tends to include all
the usual suspects from ciwah.
I'm staring to think I spoke too soon in making that suggestion. Can
I retract that statement?
--
Brian
follow the directions in my address to email me This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: john Q |
last post by:
I found a PHP based email obfuscator for use in websites, where the
source HTML (PHP, actually) file doesn't contain the actual email
address in the Mailto tag, but generates it and that generated page
(containing a full and conventional Mailto: tag) is what is ultimately
presented to the user.
The intent is to thwart Spam bots and spiders, by NOT having the email
address in the original HTML Source, but ultimately presenting it to...
|
by: Ludwig77 |
last post by:
When I was first taught html several years ago, I was taught that the
following tags are standard for any html formatted message:
<HTML>
<HEAD>
</HEAD>
</BODY>
</HTML>
In fact, I was taught that the opening tags (not the ones with </) are
mandatory tags.
|
by: William J. Tcherust |
last post by:
I run an informative site containing a few hundred pages and I would like to
insert a "Tell a friend" link (mailto) in every page as a *free*
self-promotion tool.
I want my links to open an email pointing to the generating page itself (in
the message's body) with something like this: "I've found this page,
@@page's <title></title>@@, to be of interest to you. Check it out: @@page's
complete url@@
Do you consider possible to use...
|
by: timjowers |
last post by:
Hi,
I'm attempting to send a mailto: and include a link in the body. Has
anyone done this?
Also, has anyone done mailto: with Lotus Notes 6.5? It will place the
body in the subject line if it is above a certain length of about 64
characters! Also, Lotus Notes does not un-escape/decode URL encoded
strings.
|
by: Will Pittenger |
last post by:
I have a Windows program C# .NET solution where when I update its XML
documentation, some tags are not recognized and turned into the
corresponding HTML. Those tags include <c>, <code>, <para>, <paramref>, and
<exception>. <remarks> works; I have not tried <include>. Is this a bug in
Studio or am I using those tags incorrectly?
When the tag appears to have an attribute, I have tried
<paramref="parameter">paramter name</paramref> and...
| |
by: EDOnLine |
last post by:
Is it possible to create Custom Tags in HTML and have ASP.NET replace these
custom tags with info from my database before the page is returned to the
client?
For example.... In an aspx file I would have plain HTML along with a custom
tag like this....
<p>Some text here. Email <MAIL:221>Web Master</MAIL> for more
information.</p>
The <MAIL> Custom Tag would be replaced with a mailto: link based on
|
by: clintonG |
last post by:
Anybody know how to dynamically write the meta tags using code so they are
formatted on a separate line in the HTML source?
Preferred or optimal framework classes that may be used in this regard?
<meta... />
<meta... />
<meta... />
<%= Clinton Gallagher
|
by: smHaig |
last post by:
Not being an web programmer I am unable to figure out how to put the
hyperlink mailto:emailaddress in a button click event. I do not want a
hyperlink on the form. I have found nothing to address this. using
response.redirect is not the answer because you do not return to the page
with the button on it.
Also, is it necessary to encode the address and if yes, how to do that, please
Thanks. I am sure this is very simple but I am a windows...
|
by: doulos05 |
last post by:
I am working on an xml project that will contain numerous documents
which will be edited by about 100-150 non-technical people on a
regular basis. Because of this, I am trying to make it as simple as
possible for them. This project is an internal project so it will only
ever be viewed on IE 6.x (or maybe 7.x if my company ever decides to
shoot itself in the foot) and because this is being deployed as a
replacement for a pre-existing...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
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...
|
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...
|
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...
|
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...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |