我正在创建一个组合,下面的代码是使用html的表单的前端,表单从用户获取5个输入。如何建立服务器端,以便通过电子邮件将数据邮寄到帐户。
<form class="contact-form">
<div class="row">
<div class="col-md-6">
<input type = "text" placeholder="Name">
</div>
<div class="col-md-6">
<input type = "text" placeholder="E-mail">
</div>
<div class="col-md-6">
<input type = "text" placeholder="Subject">
</div>
<div class="col-md-6">
<input type = "text" placeholder="How did you hear about me?">
</div>
<div class="col-md-12">
<textarea placeholder = "Message" ></ textarea >
</div>
</div>
<div class="text-center">
<button class="site-btn">Send</button>
</div>
</form>