Is there any way to make a form so that it sends the information to my email with just xhtml and css when submit button is used. A colleague suggested using "mailto:myemailaddy@hotmail.com" in the action attribute but that did not work.

Recommended Answers

All 2 Replies

that will only submit field name and data inserted into the filed, not what you asking for

No, you'll need a server side script for that. PHP has a mail function that's pretty easy to use. Here's a link to an easy to follow tutorial on how to do it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.