sorry for the confusion. thought i had to install phpmailer. went to the manager/includes/control directory and edited the class.phpmailer.php to use smtp and our mailer server with smtp autorization. wrote a small program to test phpmailer using the class.phpmailer.php file and works great. when i use eform get mail kicked back by postfix. would like for eform to work the same way as testfile.
testmail.php
<?php
require("class.phpmailer.php");
$mail = new PHPMailer();
$mail->From = "
[email protected]";
$mail->FromName = "Mailer";
$mail->AddAddress("
[email protected]", "charlie-imac");
$mail->WordWrap = 50; // set word wrap to 50 characters
$mail->IsHTML(true); // set email format to HTML
$mail->Subject = "Here is the subject";
$mail->Body = "This is the HTML message body <b>in bold!</b>";
$mail->AltBody = "This is the body in plain text for non-HTML mail clients";
if(!$mail->Send())
{
echo "Message could not be sent. <p>";
echo "Mailer Error: " . $mail->ErrorInfo;
exit;
}
echo "Message has been sent";
?>
charlie-imac