$mail->AddAddress($_POST["txtEmail"],$_POST["txtName"]); // name is optional
$mail->WordWrap = 50; // set word wrap to 50 characters
$mail->Subject = "Register sherwoodshop.com";
$mail->Body = "Hello world 2013";
$mail->Body = "ยินดีต้อนรับ คุณ : ".$_POST["txtName"]."\r\n";
$mail->Body = "=================================\r\n";
$mail->Body = "กรุณายืนยันข้อมูลจาก Link ด้านล่าง\r\n";
$mail->Body = "http://www.sherwoodshop.com/activate.php?sid=".session_id()."&uid=".$Uid."\r\n";
$mail->Body = "=================================\r\n";
$mail->Body = "เว็บไซต์ http://www.sherwoodshop.com";
//$mail->AltBody = "This is the body in plain text for non-HTML mail clients";
$mail->IsHTML(true);
#------ Set Body Mail-----#
$txt = "Hello world 2013";
$txt .= "ยินดีต้อนรับ คุณ : ".$_POST["txtName"]."\r\n";
$txt .= "=================================\r\n";
$txt .= "กรุณายืนยันข้อมูลจาก Link ด้านล่าง\r\n";
$txt .= "http://www.sherwoodshop.com/activate.php?sid=".session_id()."&uid=".$Uid."\r\n";
$txt .= "=================================\r\n";
$txt .= "เว็บไซต์ http://www.sherwoodshop.com";
$mail->AddAddress($_POST["txtEmail"],$_POST["txtName"]); // name is optional
$mail->WordWrap = 50; // set word wrap to 50 characters
$mail->Subject = "Register sherwoodshop.com";
$mail->Body = $txt;
//$mail->AltBody = "This is the body in plain text for non-HTML mail clients";
$mail->IsHTML(true);