hi...
i am tring to use php mail function to send email notificatoin to ppl who got postcard u know how postcard works....
well the problem is i developed the application on another comp and hosting it from other computer...
now the computer i used to developed the site allows me to send email to anyone but the other computer which is use winME does not work at all it says mail failed to connect while the same codes are working on other comp WinXP...
my smtp is smtp1.sympatico.ca
i have no clue what is wrong i even copied the php.ini to other comp running apache with dns service from cjb.net
sendpostcards.cjb.net and mysql database
also have the newest version php...
$cid=CreateID();
//echo $HTTP_POST_VARS['remail'];
//echo $remail;
$mailTo = "$remail";
$mailSubject = $sname." sent you a PostCard!";
$mailHeader = "From: $sname";
$message1= "Hey you are one lucky person, ".$sname. " stopped by WWW.SENDPOSTCARDS.CJB.NET and sent you a beautifull Postcard ";
$message1.= "Click on the link to view your card http://sendpostcards.cjb.net/viewcard.php?id=";
$message1.= $cid;
echo "<BR>";
$message2 .= "If the above link fails try using this id:";
$message2 .= $cid;
mail($mailTo, $mailSubject,$message2,$message1, $mailHeader);
if(!mail)
{
echo "<center>";
echo "<h3>";
echo "Your post card was not deliverd please try again...";
echo "</h3>";
echo "<a href=index.php>Main</a>";
exit();
}