-1
我正在建立一個網站,我希望用戶通過表格給我發電子郵件。
這是我到目前爲止(除了從其他HTML和CSS的):Webform電子郵件與HTML php
<form name="mailform" method="post" action="/assets/php/send_mail.php">
<input type="text" name="name" class="formtext" placeholder="Your name"/>
<input type="email" name="email" class="formtext" placeholder="Your email adress"/>
<input type="text" name="subject" class="formtext" placeholder="Subject"/>
<textarea name="content" placeholder="Message"></textarea>
<input type="button" name="send" id="send" value="Send Email" />
</form>
我知道我必須使用PHP,但我是新來的吧。
而且,是的,我想要的主題是:這是一個主題 - 約翰史密斯
我的PHP文件應該怎麼看?
在此先感謝您的幫助!
閱讀手冊http://php.net/manual/en/function.mail.php和谷歌的感覺今天非常有幫助;) – 2014-11-23 16:22:40