Zaithe 0 Posted March 31, 2006 Report Share Posted March 31, 2006 How do I get the action=mailto email@domain.com thingy to work? Have I typed it wrong? Also, I need to add that to the submit button so when people press submit it sends the information they put in the form to my E-Mail.Many Thanks. Quote Link to post Share on other sites
vchris 3 Posted March 31, 2006 Report Share Posted March 31, 2006 Ok so you have a form that you want to submit the info to your email. In the action attribute of your form add this: <form name="form1" method="post" action="mailto:myemail@domain.com">... That's it! Quote Link to post Share on other sites
Zaithe 0 Posted March 31, 2006 Author Report Share Posted March 31, 2006 Thanks =D, ill see if it works. Quote Link to post Share on other sites
pulpfiction 0 Posted March 31, 2006 Report Share Posted March 31, 2006 Check out this link if you want to send out mails with subject lines or message etc...http://www.ianr.unl.edu/internet/mailto.html Quote Link to post Share on other sites
Zaithe 0 Posted April 1, 2006 Author Report Share Posted April 1, 2006 Ok so you have a form that you want to submit the info to your email. In the action attribute of your form add this:<form name="form1" method="post" action="mailto:myemail@domain.com">... That's it! <{POST_SNAPBACK}> It doesn't work...when people click submit it comes up with the Outlook or whatever E-mail thing they use but when they press send, it doesn't send me a E-Mail... Quote Link to post Share on other sites
snowboard01 0 Posted April 1, 2006 Report Share Posted April 1, 2006 you must manually go into outlook then hit send receive to send the email Quote Link to post Share on other sites
Zaithe 0 Posted April 2, 2006 Author Report Share Posted April 2, 2006 you must manually go into outlook then hit send receive to send the email<{POST_SNAPBACK}> But when you click "Submit!" OutLook pops-up so why do you have to do that? Quote Link to post Share on other sites
ben3001 0 Posted April 2, 2006 Report Share Posted April 2, 2006 i tired this way along time ago and realised mailto doesnt work. you must use serverside scripting like phpbasic php form script can be found here with tutorialhttp://www.christian-web-masters.com/artic...ail-form-2.html Quote Link to post Share on other sites
Zaithe 0 Posted April 3, 2006 Author Report Share Posted April 3, 2006 Hey thanks =DBut, how do I save stuff as .php? Do I open up NotePad and just save it as .php like you do with HTML and HTM files. Or, do I have to download something else? Quote Link to post Share on other sites
snowboard01 0 Posted April 3, 2006 Report Share Posted April 3, 2006 what browser are u using some just add a que to outlook to be sent on send receive. some open outlook ask u to hit send then adds a que. and about 5 percent of people it will actually send u an email. without hitting send receive. and like no people actually use outllok so u cant count on the send receive button being hit. Quote Link to post Share on other sites
Little Goat 0 Posted April 3, 2006 Report Share Posted April 3, 2006 search on google for free form processor.LG Quote Link to post Share on other sites
reportingsjr 4 Posted April 3, 2006 Report Share Posted April 3, 2006 Go to the PHP forum here.. I think someone put a topic on this so they have the code to it ;-). Quote Link to post Share on other sites
reportingsjr 4 Posted April 3, 2006 Report Share Posted April 3, 2006 Ok, im guessing your host has PHP support? (I hope so)anyways, first create two pages,home.php and mail.phpHere is the body coding for home.php: <form action="mail.php" method="POST">Your email adress:<input type="text" name="thereemail"><br>Subject:<input type="text" name="subject"><br>Email:<br><input type="textarea" name="email" heigth="10" width="30"><br><input type="submit" value="send email!"><br></form> Here is the coding for mail.php: <?php$subject = $_POST['subject']$email = $_POST['email']$there_email = $_POST['thereemail'] mail("youremail@domain.com","$subject","$email","From:$there_email");?> There are a few minor adjustments need like:in mail.php change "youremail@domain.com" to whatever your email adress isother thigns like that.. Quote Link to post Share on other sites
lemonpi 0 Posted April 6, 2006 Report Share Posted April 6, 2006 <a href="mailto:lemonygoodness@nonexistentpage.org.uk">blah</a> Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.