473,830 Members | 2,162 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Mailto subject with spaces?

I'm using email links like this in my blog (they are automatically
generated):
<a
href="mailto:bl **@outer-court.com?subje ct=Google-Blogoscoped-Context,
Not Navigation">

Is it legal?

--
Google Blogoscoped
http://blog.outer-court.com
Jul 20 '05 #1
4 44502
Philipp Lenssen wrote:
I'm using email links like this in my blog (they are automatically
generated):
<a
href="mailto:bl **@outer-court.com?subje ct=Google-Blogoscoped-Context,
Not Navigation">

Is it legal?


Nope. Encode spaces as %20. Note that specifying a subject may result in
lost mail.

<URL:http://www.htmlhelp.or g/faq/html/links.html#mail to-subject>
--
Jim Dabell

Jul 20 '05 #2
Philipp Lenssen wrote:
I'm using email links like this in my blog (they are automatically
generated):
<a
href="mailto:bl **@outer-court.com?subje ct=Google-Blogoscoped-Context,
Not Navigation">

Is it legal?


No, you'll go straight to jail! <g>
Actually, according to the FAQ

(<http://www.faqs.org/faqs/www/authoring-faq/index.html>
6.10. How do I specify a subject for a mailto link?)

the spaces should at least be encoded as "%20".
Matthias

Jul 20 '05 #3
Jim Dabell wrote:
Philipp Lenssen wrote:
I'm using email links like this in my blog (they are automatically
generated):
<a
href="mailto:bl **@outer-court.com?subje ct=Google-Blogoscoped-Context
, Not Navigation">

Is it legal?


Nope. Encode spaces as %20. Note that specifying a subject may
result in lost mail.

<URL:http://www.htmlhelp.or g/faq/html/links.html#mail to-subject>


This is bad :(
I'm exporting my blog-posts from Blogger.com. There is no direct way I
could change " " to "%20"...
I already got feedback Firebird breaks.

Thanks for the feedback to you two. I guess I'll have to use some ID in
the subject or leave it blank... this will be a pain for sorting my
mails.

--
Google Blogoscoped
http://blog.outer-court.com
Jul 20 '05 #4
On 26 May 2004 14:57:20 GMT, "Philipp Lenssen" <in**@outer-court.com>
wrote:
Jim Dabell wrote:
Philipp Lenssen wrote:
Nope. Encode spaces as %20. Note that specifying a subject may
result in lost mail.

<URL:http://www.htmlhelp.or g/faq/html/links.html#mail to-subject>


This is bad :(
I'm exporting my blog-posts from Blogger.com. There is no direct way I
could change " " to "%20"...
I already got feedback Firebird breaks.

Thanks for the feedback to you two. I guess I'll have to use some ID in
the subject or leave it blank... this will be a pain for sorting my
mails.


I have occasionally used a subject in my email links, and have used an
underscore "_" where spaces would be. Seems to work fine for me.

Leslie

"I refuse to have a battle of wits with an unarmed person."
Jul 20 '05 #5

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

Similar topics

15
29925
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>
1
4660
by: Shiperton Henethe | last post by:
Hi Anyone know how to do a MAILTO: such that the "BODY=" parameter contains carriage returns ? e.g. <A HREF="mailto:brochure@webwindows.co.uk?subject=Brochure Request&amp;body=Line1 blah blah Line2 blah blah blah Line3 blah ">
10
17305
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>
13
7102
by: John Baker | last post by:
HI; Quick question: How do I specify an email subject when using the setup <a href="mailto:dogs@cats.com">Mail to the cat</a> Can someone show me how it would look if the subject was "mice"? Thanks a lot
3
1534
by: Nicola | last post by:
When using the NewMail.Body object, ! and spaces are being added into the email after the email has been sent. Has anyone else had this problem or even better a solution??
7
15882
by: Paul Bromley | last post by:
I am using mailto to open the default e-mail program on the users machine using the following function code snippet that I found on th web.:- Public Function OpenEmail(ByVal EmailAddress As String, _ Optional ByVal Subject As String = "", Optional ByVal Body As String = "") As Boolean Dim bAns As Boolean = True Dim sParams As String sParams = EmailAddress If LCase(Strings.Left(sParams, 7)) <> "mailto:" Then sParams = "mailto:" &
0
1295
by: runway27 | last post by:
i have used <a href="mailto:?subject=&body=this is a message"> </a> before a image. when a user clicks on the image an email client pops up with nothing in To & Subject fields and a message in the Body. This works fine for most of the email clients, However with Outlook the body portion is appearing in the Subject. Is there any way this can be avoided. Please advice.
2
2340
by: Anand Iyer | last post by:
Hi All I want to have a link inside the subject attribute in the mailTo function. Is there any way to do this? I tried the following: <a href="mailto:sample@sample.com?&Body=<a href="www.google.com">Google</a>">Click Here</a> But it didnt work. Any suggestions in this regard?
2
5154
by: GArlington | last post by:
"G. Morgan" <no_em@il.invalidwrote in message news:8787770faf30b1bd48f393baa1a89fdbnp@mypost.invalid... <snap> <snap> Did you try <cr><lf combination? ** Posted from http://www.teranews.com **
0
9791
marktang
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...
0
9642
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
10771
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
10202
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
9313
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
7745
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
6950
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
5617
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...
1
4411
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

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.