Send Contact Information to My Email
Hi everyone! Right now, I'm working on my Contact page, for my personal website.
This is what it looks like.
[ATTACH=CONFIG]15239[/ATTACH]
<form id="contact" name="contact" method="post" action="">
<p>
<label for="name">Name</label>
</p>
<p>
<input type="text" name="name" id="name" />
</p>
<p>
<label for="email">Email</label>
</p>
<p>
<input type="text" name="email" id="email" />
</p>
<p>What is the matter of this email? </p>
<table width="200" id="radio">
<tr>
<td><label>
<input type="radio" name="matter" value="comment" id="matter_0" />
Comment</label></td>
</tr>
<tr>
<td><label>
<input type="radio" name="matter" value="question" id="matter_1" />
Question</label></td>
</tr>
<tr>
<td><label>
<input type="radio" name="matter" value="request" id="matter_2" />
Request</label></td>
</tr>
</table>
<p>
<label for="subject">Subject</label>
</p>
<p>
<input type="text" name="subject" id="subject" />
</p>
<p>
<label for="message">Text</label>
</p>
<p>
<textarea name="message" id="message" cols="80" rows="10"></textarea>
</p>
<p>
<input type="submit" name="submit" id="submit" value="Submit" />
<input type="reset" name="clear" id="clear" value="Clear" />
</p>
<p> </p>
</form>
As you can see, I have a total of 5 requests. I want all 5 of them emailed to me. Obviously, the sender is handled by my web-hosting server, and the message/subject are simple, but I am unsure on how to get the sender's email and name included in the message.
To anyone who can help, that would be greatly appreciated.
The attachments of this post were removed during the platform migration in 2018