01.
<html>
02.
<head>
03.
<title>ThaiCreate.Com PHP Sending Email</title>
04.
</head>
05.
<body>
06.
<?
07.
$strTo
=
"member@thaicreate.com,member2@thaicreate.com,member3@thaicreate.com"
;
08.
$strSubject
=
"Test Send Email"
;
09.
$strHeader
=
"From: webmaster@thaicreate.com"
;
10.
$strMessage
=
"My Body & My Description"
;
11.
$flgSend
= @mail(
$strTo
,
$strSubject
,
$strMessage
,
$strHeader
);
12.
if
(
$flgSend
)
13.
{
14.
echo
"Email Sending."
;
15.
}
16.
else
17.
{
18.
echo
"Email Can Not Send."
;
19.
}
20.
?>
21.
</body>
22.
</html>