currently using this to no avail .. .still no emails going out :( please help if you can.
PHP Code:
require("class.phpmailer.php");
$email_from = "webmaker@oxidesigns.com";
$email_subject = "SUBJECT";
$email_message = "Test Email Message";
$email_to = $addr;
$mail = new PHPMailer();
$mail->IsSMTP(); // telling the class to use SMTP
$mail->Host = "localhost";
$mail->SMTPAuth = true;
$mail->Username = "cp_username";
$mail->Password = "cp_password";
$mail->From = $email_from;
$mail->FromName = "From My Server";
$mail->AddAddress($email_to);
$mail->Sender = $email_from;
$mail->Subject = $email_subject;
$mail->Body = $email_message;