How to insert a URL with spaces into message body

J

joker0927

Is it possible to insert a URL containing a space into a
message body from a mailto hyperlink without using
brackets?

For example:

<a href="mailto:[email protected]?
body=<http://www.micro%
20soft.com>">[email protected]</a>

This link will insert the URL '<http://www.micro
soft.com>' (with a space between the 'o' and the 's') into
the message body. However, the brackets will be visable
too.

If I remove the brackets, only the 'http://www.micro'
portion will be hyperlinked. The 'soft.com' portion will
be text.

Is there any way to have the entire URL show up as a
hyperlink (with the space) without using brackets?
 
B

Bravestar

Hi joker,

please use


So type the whole link and than r-click on the hyperlink and there is a
point call (in german bearbeiten)
hyplerlink settings.
There you can choose a name which is sign in the message for example

www.microsoft.com

you could make www.mic
..com
 
G

Guest

Thank you for your suggestion, but I think some of your
text is missing. Additionally, it seems you are
suggesting I type the link. However, the problem I'm
experiencing is inserting the link from within a mailto
hyperlink.
 
B

Bravestar

Hi I am sorry,

I get the wrong answer.

I only know it in HTML language.
Here is an example, maybe it helps you to get the right way.


<a href="mailto:[email protected]"
class="Stil2">Bravestar2003</a><br>
<a href="mailto:[email protected]" class="Stil2">@Hotmail.com</a>
 
G

Guest

Thanks for the suggestion. One would think that would
work, but I've tried that, and it doesn't. You are
correct; it will show up with a space. However, only the
first portion of the URL will be "hyperlinked." The
portion after the space will show up as text.

For expample:

<a href="mailto:[email protected]?
body=http://www.somedomain.com/this contains%
20spaces">Email</a>

If you click on this link, it will open a new message
with 'http://www.somedomain.com/this contains spaces' in
the message body. However,
only 'http://www.somedomain.com/this' will show up
as "hyperlinked." Both 'contains' and 'spaces' will be
plain text.

The only solution I've found thus far is to enclose the
URL in brackets (i.e. ?
body=<http://www.somedomain.com/this contains spaces>)

This will ensure that the entire URL is
properly "hyperlinked," but the brackets show up in the
body as well.

I'm searching for a way to have the entire
URL "hyperlinked," without using the brackets.
 
B

Brian Tillman

I'm searching for a way to have the entire
URL "hyperlinked," without using the brackets.

What is your objection to the brackets?

By the way, it's not a value URL if it contains spaces. RFC 1738 explicitly
states that certain characters, if present in URL, must be encoded. The
space character is one of those. The "<" and ">" are others.

How about this:

<a
href=mailto:[email protected]?body=%3chttp://www.somedomain.com/this%
20contains%20spaces%3e>
 

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