Click to See Complete Forum and Search --> : A question about mailto: formatting


learninghtml
10-17-2003, 01:03 AM
Hi,
I have searched the threads concerning entering 'subject' and 'body' info. into a 'mailto:' statement. I've used what was suggested and it seems to work but....

1. An extra CR/LF is added BEFORE the body text. Why?
How do I get rid of it?

2. Can I format the font etc. of the body text using
the 'mailto:' statement?

My existing and functional version obtained from a thread in this forum (A test so not yet published) below...

<a href="mailto:webmaster@codsalldramaticsociety.co.uk?subject=CDS%20Website%20(www.codsalldramaticsociety.co .uk)&body=Dear%20Webmaster,">webmaster@codsalldramaticsociety.co.uk</a>


P.S. I have just read the guidelines on posting. So I have edited my post accordingly (I hope). I agree with it entirely, I know bits of javascript and HTML and try to help with the simpler problems and it can be a trial trying to understand someone's code!

Khalid Ali
10-17-2003, 10:21 AM
if you use mailto protocole for forms action attribute,you are stuck with whatever browsers is defaulted to show to you.
FOr better email formatting you can use server side coding.

learninghtml
10-17-2003, 10:47 AM
Hi Khalid,
Thanks for that. I will do a search of the forums to find out how to create server-side email. I assume it would be similar to a posting a form and processing it with a cgi script?

Thanks again.

The Cheat
10-17-2003, 01:15 PM
Originally posted by learninghtml
Hi Khalid,
Thanks for that. I will do a search of the forums to find out how to create server-side email. I assume it would be similar to a posting a form and processing it with a cgi script?
Yep you gotta write a script to handle the form. Using Php would probably be the easiest way.