Ga naar inhoud

form action: mailto


anoniem

Aanbevolen berichten

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?
Link naar reactie
[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">&nbsp;</td> <td>&nbsp;<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....
Link naar reactie
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.
Link naar reactie

Om een reactie te plaatsen, moet je eerst inloggen

Gast
Reageer op dit topic

×   Geplakt als verrijkte tekst.   Herstel opmaak

  Er zijn maximaal 75 emoji toegestaan.

×   Je link werd automatisch ingevoegd.   Tonen als normale link

×   Je vorige inhoud werd hersteld.   Leeg de tekstverwerker

×   Je kunt afbeeldingen niet direct plakken. Upload of voeg afbeeldingen vanaf een URL in

  • Populaire leden

    Er is nog niemand die deze week reputatie heeft ontvangen.

  • Leden

    Geen leden om te tonen

×
×
  • Nieuwe aanmaken...