我有来自 HTML 模板的电子邮件表单的以下代码。我想让它发送电子邮件,因为我认为它没有,我需要添加一些 PHP 来处理表单。有关如何为此表单执行此操作的任何提示?
谢谢!
<!-- Email -->
<article id="email" class="panel">
<header>
<h2>Email Me</h2>
</header>
<form action="#" method="post">
<div class="5grid">
<div class="row">
<div class="6u">
<input type="text" class="text" name="name" placeholder="Name" />
</div>
<div class="6u">
<input type="text" class="text" name="email" placeholder="Email" />
</div>
</div>
<div class="row">
<div class="12u">
<input type="text" class="text" name="subject" placeholder="Subject" />
</div>
</div>
<div class="row">
<div class="12u">
<textarea name="message" placeholder="Message"></textarea>
</div>
</div>
<div class="row">
<div class="12u">
<input type="submit" class="button" value="Send Message" />
</div>
</div>
</div>
</form>
</article>