473,831 Members | 2,274 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

mailto: tags?

Val
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?

Jul 20 '05
15 29925
Brian wrote:
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?


no...the t-shirts are already being printed and the TV documentary is in
pre-production...so rry

:)

--
eric
www.ericjarvis.co.uk
all these years I've waited for the revolution
and all we end up getting is spin
Jul 20 '05 #11
Eric Jarvis wrote:
Brian wrote:
I'm staring to think I spoke too soon in making that suggestion. Can
I retract that statement?


no...the t-shirts are already being printed and the TV documentary is in
pre-production...so rry

:)


See? That's why I hate marketers.

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

Jul 20 '05 #12
Val
In comp.infosystem s.www.authoring.html, Steve Pugh wrote:
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
I've got a form, but some people can't use it because of firewalls etc.

In comp.infosystem s.www.authoring.html, Thor Kottelin wrote:
<a
href="mailto:n o****@nowhere.c om?subject=Your %20web%20site&a mp;body=Name:%0 9%0D%0AAddress: %09%0D%0APostco de:%09%0D%0AEma il:%09%0D%0A">c lick
here</a>


Brilliant, although the tabs don't work - I can live with that.

Thank you.

--
Nigel Mercier

Please remove NOSPAM from my return address
Jul 20 '05 #13
Val <va******@hotma il.com> wrote:
In comp.infosystem s.www.authoring.html, Steve Pugh wrote:
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
I've got a form, but some people can't use it because of firewalls etc.


A firewall that lets users visit web pages and send e-mails to
external addresses but which doesn't allow form submissions? That
sounds unlikely.
In comp.infosystem s.www.authoring.html, Thor Kottelin wrote:
<a
href="mailto: no****@nowhere. com?subject=You r%20web%20site& amp;body=Name:% 09%0D%0AAddress :%09%0D%0APostc ode:%09%0D%0AEm ail:%09%0D%0A"> click
here</a>


Brilliant, although the tabs don't work - I can live with that.


As I said in my post, that's only a solution if you are willing to
have a portion of the emails disappear into a black hole. I hope
you're not using this for business.

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/>
Jul 20 '05 #14
One more time:

<a
href='mailto:da ****@atreide.ne t?Subject=Hi%20 There&Body=This %20is%20a%20bod y
&Att:filename=" FileName.TXT"'> attachement, attachment, attch, att</a>

-------
Eric Miller's User Tips

Last Updated on 09/21/98

OE as Default Mail Client If you simply want to send a mail
message, but don't want to fully load OE, select Start | Run | "mailto:"
(without the quotation marks). This will bring up a Compose Message window
with the cursor blinking in the To: field, ready for you to change. You can
even create a shortcut wherever you would like. In the Target box under the
Shortcut tab, type in "mailto:" (without the quotation marks). Having done
this, clicking on the shortcut will bring up an OE Compose Message window.
For more information, read Knowledge Base Article Q181985.

Now, if you'd like to automatically fill in some of the fields, you
can do that too. For example, iIf you want to fill in the To field, using
the address of ab*@isp.com as an example, simply type in
"mailto:ab*@isp .com" (again without the quotation marks). If you want the
Compose Message window to pop up with ab**@isp.com in the To field,
ab**@isp.com and ab**@isp.com in the CC field, ab**@isp.com and ab**@isp.com
in the BCC field, the word "Stuff" in the Subject field and the word "Text"
in the body of the message, use:
mailto:ab**@isp .com?subject=St uff&CC=ab**@isp .com;ab**@isp.c om&BCC=ab**@isp .com;ab**@isp.c om&body=Text

A couple of caveats are particularly noteworthy about using mailto
with command line parameters. First, the syntax must be precise -- a "?" is
required to setoff the Subject field, an "&" is required to set off the CC,
BCC and Body fields. Second, OE will stop picking up the command line
instructions when it first encounters a blank space in the command string.
This can have unintended and confusing consequences. For instance, if you
have a Subject with more than one word and you have a space between the
words, the Subject field will reflect only the first word. Moreover, any
instructions after the blank space, e.g., BCC, CC or Body will not be picked
up. To deal with multiple words in the Subject and Body fields, you need to
be sure to enclose the multiple words within quotation marks. These
quotation marks will show, but OE will also pick up the entire subject and
any ensuing instructions. With respect to multiple email addresses in the
To, BCC or BCC fields, you need to be sure to separate them with semicolons,
but there should be no additional spaces. That's all there is to it. Once
you understand the multiple word limitations, the mailto command can be very
handy.
-----------------------
Jul 20 '05 #15
"Jean Pierre Daviau" <jp******@video tron.ca> exclaimed in <Ll************ ******@weber.vi deotron.net>:
One more time:
And for the Nth time:

This:
<a
href='mailto:da ****@atreide.ne t?Subject=Hi%20 There&Body=This %20is%20a%20bod y
&Att:filename=" FileName.TXT"'> attachement, attachment, attch, att</a>


will lead to mail being lost. Do. Not. Do. This. unless you want to loose
mail and make life hard on your users.

--
- Tina Holmboe Greytower Technologies
ti**@greytower. net http://www.greytower.net/
[+46] 0708 557 905
Jul 20 '05 #16

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

Similar topics

4
5978
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...
6
3435
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.
2
1762
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...
5
29717
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.
8
2014
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...
2
2033
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
4
2306
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
3
18975
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...
11
11596
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...
0
10778
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
10496
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
10538
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
10210
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
9319
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...
1
7750
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6951
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5788
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3967
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.