PHP Mailer - ile nasil form mail gonderir?
PHP Mailer ile nasil bu form email gondere bilirim yardimci olabilirmisiniz
<form action="contact.php" method="post">
<label>Isim</label>
<input type="text" name="isim"><br>
<label>E-posta</label>
<input type="email" name="eposta"><br>
<label>Konu</label>
<input type="text" name="konu"><br>
<label>Messaj</label><br>
<textarea name="mesaj" cols="30" rows="10"></textarea><br>
<button name="formgonder" type="submit">Gonder</button>
</form>
Soru hatalı mı? 👎
Eğer sorunun kurallara aykırı olduğunu düşünüyorsanız lütfen bize bildirin!
Cevaplar (1)
http://www.erbilen.net/phpmailer-sinifi-ile-gmail-uzerinden-e-posta-gonderimi/
// action="contact.php" bu kısma tam olarak nereye post edeceğini yazmalısın site linkiyle beraber
$concent = '<form action="contact.php" method="post">
<label>Isim</label>
<input type="text" name="isim"><br>
<label>E-posta</label>
<input type="email" name="eposta"><br>
<label>Konu</label>
<input type="text" name="konu"><br>
<label>Messaj</label><br>
<textarea name="mesaj" cols="30" rows="10"></textarea><br>
<button name="formgonder" type="submit">Gonder</button>
</form>';
$mail->IsHTML(true);
$mail->MsgHTML($content);