PDA

View Full Version : how to format the text in mailto


kamarthi7
11-06-2002, 08:08 AM
hello,

I could send the text entered by the user to my mail id by using the mailto function. but how could I format the text like the simple code is below

<html>
<body>
<form name="form1" method="post" action="mailto:kamarthi7@hotmail.com" enctype="text/plain">
<BR> FIRST NAME <input type="text" name="FIRSTNAME">
<BR> SECOND NAME <input type="text" name="SECONDNAME">
<BR> SUBJECT <input type="text" name="SUBJECT">
<BR> DETAILS<BR> <TEXTAREA NAME= "DETAILS" rows = 12 cols = 25> </TEXTAREA>
<BR><input type="submit" name="SUBMIT">

</form>
</body>
</html>

when I enter the text in the input fields i get the result to my mail like this

FIRSTNAME=akash
SECONDNAME=varma
SUBJECT=help
DETAILS=this is a text
and in the second line

special characters üöä


I want to format the text before it is sent to the mail like I want to put a line gap between subject and details.

I want to format the text like change the ü charecter to oa.

so is it posible to format it. by any other way and how.
thank you,

beetle
11-06-2002, 08:12 AM
Don't think you can with a mailto: link.

Probably have to go server-side for this....