SamohtVII Posted May 9, 2013 Share Posted May 9, 2013 So i can remember ages and ages ago I had a page that could have a form and on submit the form would send an email to myself with the details. Now when I try to recreate this all it does is open the users default mail program. Am i mistaken or can you get it to send an email immediately from the website without using php etc. ty Link to comment Share on other sites More sharing options...
jeffman Posted May 9, 2013 Share Posted May 9, 2013 mailto: opens the default mail client. Even then, you can't rely on every browser/client to exchange the same information. I never use it. The solution you're probably thinking of does require a server script. I'm pretty sure you can search for one that requires minimal setup. Link to comment Share on other sites More sharing options...
MarkT Posted May 29, 2013 Share Posted May 29, 2013 So i can remember ages and ages ago I had a page that could have a form and on submit the form would send an email to myself with the details. Now when I try to recreate this all it does is open the users default mail program. Am i mistaken or can you get it to send an email immediately from the website without using php etc. tyonce again,PHP is what you need here,Use a HTML Form,and the PHP email located here;http://www.w3schools.com/php/php_mail.asp So set the $to = Your email and then use a HTML Form POST method, to get the email address of the user sending, and put that as a variable, then use that in the $from field.etc 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