PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
It sends with the subject ok, but the input (the email field) is sent in an attached file. How can I get it to display in the body of the email that is sent?
Optionaly you can send headers along with the e-mail. A header could contain a from address, or a repy-to address, or even an x-mailer (among many other things). Here's the PHP documentation:
So if this is what i have at the moment;;
<form action="mailto:contact@dhopec.com?subject=Add email to mailing list&" method="post" name="emailform">
<input name="email" type="text" maxlength="40" value="">
<input type="submit" value="Submit">
</form>
What do i take out and where do i add this php code?