Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

About PHP email again

Status
Not open for further replies.

LovelyAngel

Programmer
Mar 17, 2002
17
0
0
GB
Hi all programmers,

I've check my SMTP virtual server which is running correctly, but why my PHP email function is still not working??

code:

<?php

echo &quot;<html><body>&quot;;

$recipient = &quot;benny1011@hotmail.com&quot;;
$subject = &quot;Testing the mail function&quot;;
$message = &quot;Hello!\n\nThis is the body of the message.\n\n&quot;;
//$extra = &quot;From: footballyeah@hotmail.com\r\nReply-To: footballyeah@hotmail.com\r\n&quot;;

mail ($recipient, $subject, $message);

echo &quot;Sending mail...&quot;;
echo &quot;</body></html>&quot;;

?>


Please help me!!!

Thank you
 
hi
can u tell what type of error ur getting ,also iwhich is a server ur using?

spookie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top