i got stuck redoing a website that has recently switched servers, everything works but the contact page which is in php. i never have worked in php. this is the php string. everything works except when you click the "send" button, it takes you to a broken link. so i have to questions. 1) is the php code correct 2) could the server switch have something to do with it.
<?php
$message="Name: $Name\n Email:$email\n Phone: $HmPhone\n Address: $Address\n$Address2\n City: $City\n State: $State\n Zip: $ZipCode\n Comments: $Comments\n";
$subject="Oceanside Title Website Inquiry";
if (mail('rpotter111@alliance-property.com',$subject,$message))
{
print "<blockquote><p align='center'><br><br><b><font face='Verdana'>\n";
print "Thank you for filling out our form.</font></b></p><p align='center'>\n";
print "</p></blockquote>\n";
}
?>[code=php]