Yes even for that you need a certain type of server which supports email-transferring. It's like when you want to use PHP on your website you need a server which supports Apache for example.
The mail commands are simple;
- Code: Select all
<a href="mailto:email@example.com">Email me here!</a>
That's the link type of email command, which means; if someone clicks on this link they'll automatically open their email software (thunderbird, outlook etc.) and from there on it's done through the software. But if you want to make it more efficient of some sort I'd advice you to go with PHP for the mail-stuff since php has got *comparison, and HTML doesn't.
*Comparison = "if, then, else" - If email has been written down, then mail when user click on "send". Else send user back to previous page. // Only an example of a comparison (no code).
When you have your form and you want the user to write down his/her email, a message as well as a name/phonenumer/skype whatever, then just simply add a PHP check. (Which is done through a comparison). It will check if the user has entered a valid email (@something.something), if the user has entered a name and also if the user has written a message. I'd love to show you an example of how this would look like right now but this type of setting requires 2+ pages. One .html for the form/website and one .php for all the functions. And PHP functions are not a piece of cake if you've never used PHP before.