W
wilson
Guest
Hi,
I started to learn php yesterday.
And wrote my first php file.
It calls the mail() to send an email.
code:
.......
ini_set(SMTP,"localhost");
ini_set(smtp_port,8081);
mail( "[email protected]", "Feedback Form Results",
$message, "From: $email" );
header( "Location: http://www.google.com" );
.......
After I testing the php, it showed me the email was sent successfully( without any error information and opened the www.google.com). But I can not find the email sent in the [email protected].
I have downloaded a software called Free SMTP Server to run on my machine. It also showed me my php program used the port 8081 to send the email.
appreciate any help......
I started to learn php yesterday.
And wrote my first php file.
It calls the mail() to send an email.
code:
.......
ini_set(SMTP,"localhost");
ini_set(smtp_port,8081);
mail( "[email protected]", "Feedback Form Results",
$message, "From: $email" );
header( "Location: http://www.google.com" );
.......
After I testing the php, it showed me the email was sent successfully( without any error information and opened the www.google.com). But I can not find the email sent in the [email protected].
I have downloaded a software called Free SMTP Server to run on my machine. It also showed me my php program used the port 8081 to send the email.
appreciate any help......