ใครว่าเขียนโปรแกรมส่งยาก แค่เขียน php เป็นบ้างนิดหน่อยก็ทำโปรแกรมส่งเมล์ได้แล้ว ทำไว้ใช้เองสบายๆ มาดูกันเลยว่าทำอย่างไรจากโค้ดด้านล่างนี้
[code]<?php
$email_to = "somebody@email.com";
$email_subject = "Test E-Mail (This is the subject of the E-Mail)";
$email_body = "This is the body of the Email \nThis is a second line in the body!";
if(mail($email_to, $email_subject, $email_body)){