Hi- I'm trying to make a simple mail form using dreamweaver and when I preview the page I get this error::: Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Program Files\Apache Group\Apache2\htdocs\newland\message_sent.php on line 6 I'm not sure what to do here. I want to make sure that I'm headed in the right direction so can someone please let me know how or what I can change to make this work. Also here's the dreamweaver code:: <?php $to = "yaqoobcerbes@hotmail.com"; $subject = "This is the message subject"; $body = "This is the message body"; $headers = "From: yaqoobcerbes@hotmail.com\n"; mail($to,$subject,$body,$headers); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Newland Tours: About</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link href="css/newland.css" rel="stylesheet" type="text/css" /> </head> <body> <a href="#top"><img src="images/spacer.gif" alt="Skip to main image" width="1" height="1" border="0" align="left" /></a> <table width="750" border="0" cellpadding="3" cellspacing="0"> <tr> <td><img src="images/banner_left.gif" alt="Newland Tours Banner" width="451" height="68" /></td> <td width="280"><img src="images/banner_right.jpg" alt="Newland Tours Banner, previous tour images" width="276" height="68" /></td> </tr> <tr> <td><img src="images/navbar.gif" name="navbar" alt="Newland Tours image" width="450" height="20" border="0" usemap="#navbarMap" /></td> <td><img name="copyright_bar" src="images/copyright_bar.gif" alt="Copyright 2006 Newland Tours width="272" height="20" border="0" /></td> </tr> <tr> <td colspan="2"> <h1><br /> <a name="top" id="top"></a>Message Sent </h1> <p>Your message has been sent. We will contact you soon.</p> <p>Return to Newland <a href="index.php">home</a>. </p></td> </tr> </table> <br /> <br /> <map name="navbarMap" id="navbarMap"> <area shape="rect" coords="1,0,62,20" href="index.php" alt="Home" /> <area shape="rect" coords="71,0,117,20" href="about.php" alt="About" /> <area shape="rect" coords="129,0,196,20" href="tours.php" alt="Find Tours" /> <area shape="rect" coords="209,0,311,20" href="profiles.php" alt="Navigation Bar" /> <area shape="rect" coords="327,0,434,20" href="contact.php" alt="Contact An Agent" /> </map> </body> </html> Please give me a hand with this, it's much appreciated. Ya'qub :D