Reply to Re: Processing User Input in HTML mailto - Newbie

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация