anoniem Geplaatst: 16 september 2004 Delen Geplaatst: 16 september 2004 hallo mensen :) daar was ik weer. ik heb weer ff een vraagje, dit keer over een form action. we willen namelijk een pagina maken met een form erop. als deze form wordt ingevult, dan moet dat met een knop worden verstuurd via e-mail. we hebben al gezocht en komen de heletijd op deze oplossing uit [code:1:d5f535e142]<form method="post" action="mailto:email@emailaddres.com" enctype="text/plain">[/code:1:d5f535e142] als wij dan op de knop 'submit' klikken opent hij netjes een meldings venster met de tekst 'dit formulier wordt per e-mail verzonden....bladerdiebla.... klik je op ok, dan opent hij ook netjes een mailtje, maaahaaar deze is helemaal leeg (alleen staat het e-mail adres vermeld) we gebruiken MS outlook 98. doen wij iets fout of kan dat niet met outlook 98? Quote Link naar reactie
anoniem Geplaatst: 16 september 2004 Auteur Delen Geplaatst: 16 september 2004 [list:1528051719][*:1528051719][url=http://www.cs.tut.fi/~jkorpela/forms/index.html]How to write HTML forms[/url][*:1528051719][url=http://www.isolani.co.uk/articles/mailto.html]The Mythical Mailto:[/url][/list:u:1528051719] Quote Link naar reactie
anoniem Geplaatst: 16 september 2004 Auteur Delen Geplaatst: 16 september 2004 die hadden we al gehad en daar staat dus precies die code al op die wij al wisten (en waar we de heletijd op uit komen....) Quote Link naar reactie
anoniem Geplaatst: 16 september 2004 Auteur Delen Geplaatst: 16 september 2004 Lees eerst is. Quote Link naar reactie
anoniem Geplaatst: 16 september 2004 Auteur Delen Geplaatst: 16 september 2004 De server waar die form op staat, moet wel CGI ondersteunen, anders werkt het niet (of je moet via een extern gehost script werken). Quote Link naar reactie
anoniem Geplaatst: 16 september 2004 Auteur Delen Geplaatst: 16 september 2004 [quote:9ef1445f7b="Anne"]Lees eerst is.[/quote:9ef1445f7b] ik neem aan dat je wil dat ik de hele code plaats? komt ie :) [code:1:9ef1445f7b]<form method="post" action="mailto:email@emailaddres.com" enctype="text/plain"> <table width="450" cellpadding="0" cellspacing="0" > <tr> <td>Wat is uw naam?</td> <td><input type="text" name="naam"></td> </tr> <tr> <td>Op welke afdeling bevindt uw zich? </td> <td><input type="text" name="afdeling"></td> </tr> <tr> <td>Waar heeft het probleem me te maken? </td> <td><input type="text" name="probleem"></td> </tr> <tr> <td valign="top">Typ hier de omschrijving van het probleem. </td> <td><textarea name="bericht" rows="6"></textarea></td> </tr> <tr> <td align="right"><input type="submit" value="Verzend melding"> </td> <td> <input type="reset" value="Begin opnieuw"></td> </tr> </table> </form>[/code:1:9ef1445f7b] [quote:9ef1445f7b="boelieboelie"]De server waar die form op staat, moet wel CGI ondersteunen, anders werkt het niet (of je moet via een extern gehost script werken).[/quote:9ef1445f7b] ah, dat is dat denk ik het probleem.... we zitten namelijk gewoon op een client pc een siteje in elkaar te draaien.... dus er is geen sprake van een server, maar we laden gewoon die html pagina in IE.... Quote Link naar reactie
anoniem Geplaatst: 16 september 2004 Auteur Delen Geplaatst: 16 september 2004 Nee, de genoemde artikelen lezen.[quote:d1788a3ce9]Many forms out there fail for one reason: The webdesigner has incorrectly assumed what a visitor has installed.[/quote:d1788a3ce9][quote:d1788a3ce9]The third methodology has been taken up by enthusiastic web-authors, mainly because of its convenience and simplicity, and mainly for the mistaken belief that an action of mailto: results in the sending of the form data in a mail to the owner. "It works for me", say the inexperienced author. True, <form action="mailto:joebloggs@example.com"> looks very elegant a solution - so did the Titanic, and its captain didn't expect problems either.[/quote:d1788a3ce9][quote:d1788a3ce9]Looking at the HTML 4.0 specifications, and especially at the exposition of the form tag shows that for the action attribute should be a correctly formed HTTP URL. Anything other than a URL is undefined, thus the resulting action taken by browsers is completely random since browser designers are left to their own devices.[/quote:d1788a3ce9][quote:d1788a3ce9]Microsoft's Internet Explorer when used with Outlook Express does produce the remarkable effect of sending the contents of the form via email to the address suggested in the form tag. Which is good for the newbie web-designer - Melissa and Love Bug worm-authors are equally happy with this close relationship between the browser and mail reader. This affinity is thus a good thing, and a serious fundamental security flaw.[/quote:d1788a3ce9]Dat zijn denk ik de meest relevante citaten uit het tweede artikel dat daar genoemd staat. Quote Link naar reactie
anoniem Geplaatst: 16 september 2004 Auteur Delen Geplaatst: 16 september 2004 los daarvan zou het moeten werken. Waarom OE leeg opent ligt waarschijnlijk aan jouw OE versie. Zou je geen remote host kunnen gebruiken die een form mailt? En, de meeste providers bieden via hun webspace wel een standaard mailscript aan. t. Quote Link naar reactie
anoniem Geplaatst: 17 september 2004 Auteur Delen Geplaatst: 17 september 2004 Even iets anders, maar ik zou voor een PHP oplossing kiezen. Die stuurt het formulier netjes weg, zonder dat je een mail-programma of popup's nodig hebt. Quote Link naar reactie
Aanbevolen berichten
Om een reactie te plaatsen, moet je eerst inloggen