|
Posted by Jonathan N. Little on 11/12/06 14:45
Andrew Bailey wrote:
> "Michael Fesser" <netizen@gmx.de> wrote in message
> news:cpmcl2h1cqflhkjhubjm6c21c3s1ib81q1@4ax.com...
>> .oO(M)
>>
>>> I have searched various news groups and i know i can use the mailto in
>>> the way below by hardcoding what it should say.
>> You cannot use a 'mailto' in a form's action, because it's completely
>> undefined and will fail in many cases.
>>
>>> Is it possible without
>>> using (asp or cgi) any scripting to pass the contents of user input in
>>> text boxes into the subject and body field to send as an email????????
>> Form processing always requires a server-side script.
>>
>> Micha
>
> Here ya go...
>
> (Remember to scamble the mailto: and your domain name) Make an error and
> success page too ;)
>
> Andy
>
>
> <html>
> <head>
> <title>Transfer Form data to email client</title>
>
> <script type="text/javascript">
> <!-- TRANFER FORM TO EMAIL CLIENT
> function sendmymail(){
> var firstname= document.getElementById('first').value;
<snip the "good try" effort>
And what happens on a computer where no pop email accounts are setup,
i.e., hotmail or yahoo mail account only, eh?
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|