We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
function Send_eMail ( $Clean, $ActivationCode, $CompanyKey, $CompanyEmail ) { $ActivateURL = sprintf ( "", getenv ( 'HTTP_HOST' ), HomeFolder(), "login.php", $CompanyKey, $Clean [ 'eMail' ], $ActivationCode ); $Body = "<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>\n" . "<html>\n" . "<head>\n" . "</head>\n" . "<body>\n" . "This message was sent to " . $Clean [ 'eMail' ] . "<br /><br />\n" . "Thank you for beginning the registration process.<br /><br />\n" . "Your activation code is -- " . $ActivationCode . "<br /><br />\n" . "The next step is to activate your account.<br /><br />\n" . "Either <a href='" . $ActivateURL . "'>" . "click here" . "</a>\n" . "or enter your activation code to the web page shown after you registered<br /><br />\n" . "If you did not request this message, please delete it.<br />\n" . "</body>\n" . "</html>\n" ; $Headers = "MIME-Version: 1.0" . "\r\n"; $Headers .= "Content-type: text/html; charset=iso-8859-1" . "\r\n"; $Headers .= "From: no-reply@your-domain.com" . "\r\n"; $Sent = mail ( $Clean [ 'eMail' ], "Registration Confirmation", $Body, $Headers ); return ( $Sent ); } // Send_eMail()
If you are experiencing a similar issue, please ask a related question
Join the community of 500,000 technology professionals and ask your questions.