发送 html 表单数据到我的网站邮箱

问题描述 投票:0回答:0

我需要有关如何使用 php 将我的 html 网络表单数据发送到我的网站电子邮件地址的帮助。

我创建了一个包含以下字段的 html 表单:

<form method='post' action: 'something.php'>
Name:<input type="text" name="name">
eMail:<input type="text" 
name="email">
Phone:<input type="text" 
name="phone">
subject: <select name="subject">
<option>HTML</option>
<option>HTML</option>
<option>HTML</option>
</select>
message: <textarea name="message"></textarea>
<button name='submit'></button
</form>

请帮我处理 php 代码。谢谢。

php html sendmail form-data
© www.soinside.com 2019 - 2024. All rights reserved.