01.
$strTo
=
"member@thaicreate.com"
;
02.
$strSubject
=
"Test Send Email"
;
03.
$strHeader
=
"From: webmaster@thaicreate.com"
;
04.
$strMessage
=
"My Body & My Description"
;
05.
$flgSend
= @mail(
$strTo
,
$strSubject
,
$strMessage
,
$strHeader
);
06.
if
(
$flgSend
)
07.
{
08.
echo
"Email Sending."
;
09.
}
10.
else
11.
{
12.
echo
"Email Can Not Send."
;
13.
}