Hi,
I am having trouble to make eform to work with my host provider (DreamHost). I am required to use SMTP, with no authentication.
I have made the following changes to eform.inc.php to add SMTP method. The change was done to all sections that have the class PHPMailer in the eform.inc.php
...
$mail = new PHPMailer();
#$mail->IsMail();
$mail->IsSMTP();
$mail->Host = "localhost";
$mail->SMTPAuth = false;
$mail->Mailer = "smtp";
...
I am testing it with the default "contact us" page. hit on submit and receive the successful notification, but no email...

So I tested a similar approach (below) outside modx and phpmailer is able to send out emails. Any ideas? Any property or parameter I might be missing from the code above?
<?php
require("./manager/includes/controls/class.phpmailer.php");
$mail = new PHPMailer();
$mail->IsSMTP(true); // set mailer to use SMTP
$mail->Host = "localhost"; // specify main and backup server
$mail->SMTPAuth = false; // turn off SMTP authentication
$mail->From = "test@domain";
$mail->FromName = "anyname";
$mail->AddAddress("
xyz@yahoo.com", "Name1");
$mail->IsHTML(true); // set email format to HTM
$mail->Subject = "PHPmailer example";
$mail->Body = "This is a test of email 2";
if(!$mail->Send()){
echo "Message could not be sent. <p>";
echo "Mailer Error: " . $mail->ErrorInfo;
exit;
}
?>
Thanks,
marcello