|
|
|
ช่วยดูโค้ดส่งอีเมล์ให้ส่ง To Cc Bcc ได้หลายๆคนด้วยค่ะ |
|
|
|
|
|
|
|
Code (PHP)
<html>
<head>
<title>ThaiCreate.Com PHP Sending Email</title>
</head>
<body>
<?
$strTo = "[email protected]";
$strSubject = "Test Send Email";
$strHeader = "From: Mr.Weerachai Nukitram<[email protected]>\n";
$strHeader .= "Cc: Mr.Surachai Sirisart<[email protected]>\n";
$strHeader .= "Bcc: [email protected]";
$strMessage = "My Body & My Description";
$flgSend = @mail($strTo,$strSubject,$strMessage,$strHeader); // @ = No Show Error //
if($flgSend)
{
echo "Email Sending.";
}
else
{
echo "Email Can Not Send.";
}
?>
</body>
</html>
PHP Sending Email Cc and Bcc
|
|
|
|
|
Date :
2010-03-18 06:37:56 |
By :
webmaster |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ขอแบบต้องยืนยัน SMTP ด้วยอะครับ
|
|
|
|
|
Date :
2010-03-18 09:50:25 |
By :
kimhunhack |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 00
|