I was wondering if it is possible to access smtp via php...
For years we've been using a simple form processor that sends mail via sendmail.... but on one particular server sendmail is turned off although we have access to smtp.
Any ideas on how convert this bit of code so it uses smtp?
$Message = "<font face=verdana size=2>".$Message."</font></body></html>";
mail( $MailToAddress, $MailSubject, $Message, "Content-Type: text/html; charset=ISO-8859-1\r\nFrom: $name <$email>\r\nBCc: $MailToCC");
header("Location: ".$redirectURL);