Jump to content

Form mailto:


SamohtVII

Recommended Posts

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

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

  • 3 weeks later...
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
once 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...