Zaithe Posted March 31, 2006 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. Link to comment Share on other sites More sharing options...
vchris Posted March 31, 2006 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! Link to comment Share on other sites More sharing options...
Zaithe Posted March 31, 2006 Author Share Posted March 31, 2006 Thanks =D, ill see if it works. Link to comment Share on other sites More sharing options...
pulpfiction Posted March 31, 2006 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 Link to comment Share on other sites More sharing options...
Zaithe Posted April 1, 2006 Author 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... Link to comment Share on other sites More sharing options...
snowboard01 Posted April 1, 2006 Share Posted April 1, 2006 you must manually go into outlook then hit send receive to send the email Link to comment Share on other sites More sharing options...
Zaithe Posted April 2, 2006 Author 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? Link to comment Share on other sites More sharing options...
ben3001 Posted April 2, 2006 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 Link to comment Share on other sites More sharing options...
Zaithe Posted April 3, 2006 Author 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? Link to comment Share on other sites More sharing options...
snowboard01 Posted April 3, 2006 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. Link to comment Share on other sites More sharing options...
Little Goat Posted April 3, 2006 Share Posted April 3, 2006 search on google for free form processor.LG Link to comment Share on other sites More sharing options...
reportingsjr Posted April 3, 2006 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 ;-). Link to comment Share on other sites More sharing options...
reportingsjr Posted April 3, 2006 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.. Link to comment Share on other sites More sharing options...
lemonpi Posted April 6, 2006 Share Posted April 6, 2006 <a href="mailto:lemonygoodness@nonexistentpage.org.uk">blah</a> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now