mail html

H

HDI

Hi,

Does anyone know how to put html in the body.

So when you click on link your mail opens and you can see a html
webpage.

<a href="mailto:[email protected]?subject=feedback&body=I am having trouble
finding information on.">link</a>

--> OK for text.


<a
href="mailto:[email protected]?subject=feedback&body=<html>...</html>">link</a>

--> ???

I know you can mail a form but that's not an option. (<form
action=mailto....)
Outook gives always a message box when the user send it back.

THX
 
T

Toby Inkster

HDI said:
Does anyone know how to put html in the body.

Yes -- add the following headers to your message:

MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
 
E

Edwin van der Vaart

Toby said:
Yes -- add the following headers to your message:

MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
I thought that OE automatically do, when you have html selected as
message body.
--
Edwin van der Vaart
http://www.semi-conductor.nl/ Links to Semiconductors sites
http://www.evandervaart.nl/ Under construction
Explicitly no permission given to Forum4Designers, onlinemarketingtoday,
24help.info and issociate.de to duplicate this post.
 
H

HDI

Where should I put it?

<a href="mailto:[email protected]?subject=feedback&body=MIME-Version: 1.0
Content-Type: text/html; charset=utf-8 I am having trouble finding
information on.">link</a> ???

It Doesn't work.
 
H

hywel.jenkins

HDI said:
Where should I put it?

<a href="mailto:[email protected]?subject=feedback&body=MIME-Version: 1.0
Content-Type: text/html; charset=utf-8 I am having trouble finding
information on.">link</a> ???

It Doesn't work.

Why would it? All you're doing is attempting to fill the subject and
the body using the worst possible method. Use a server-side handler
and do it properly.
 
H

hywel.jenkins

HDI said:
Thats not an option at this moment

Learn to quote properly. It's always an option (remote script
hosting), but what you're doing is certainly not an option. If you
must use an email link, just specify the email address and let the user
do the rest.

How do you know if the person sending the email has a mail client? How
do you know that client supports HTML email?
 

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

Members online

Forum statistics

Threads
474,266
Messages
2,571,079
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top