function:mail ( to, subject, message, footer, parameter );
return type:boolean, void
content:ใช้ในการส่ง mail โดยจะคืนค่า true ถ้าส่ง mail ได้สำเร็จ
example:$to = "bamboolabcode@gmail.com, bamboolabcode@hotmail.com";
$subject = "Welcome To BambooLabcode";
$message = "bamboolabcode is e-learning about programming";
mail ( $to, $subject, $message );
comment:ตัวแปร to ใช้กำหนดชื่อ email ผู้รับ
ตัวแปร subject ใช้กำหนดหัวจดหมายที่ส่ง
ตัวแปร message ใช้กำหนดเนื้อหาที่จะส่งไป
ตัวแปร footer คือกำหนดส่วนท้ายของ mail เช่น from, cc