I cannot get eform to work -
I replaced the values with -
$mail->isSMTP();
$mail->Host = 'mail.mydomain.net';
$mail->User = '
form@mydomain.net';
$mail->Password = 'mypassword;
But it won't send.
I replaced in the 4 places the line - $mail->IsMail();
if ($mobile && $mobiletext) {
$mobiletext = formMerge($mobiletext,$fields);
$mail = new PHPMailer();
$mail->IsMail();
$mail->CharSet = $modx->config['modx_charset'];
$mail->IsHTML($isHtml);
$mail->From = $from;
$mail->FromName = $fromname;
$mail->Subject = $subject;
$mail->Body = $mobiletext;
AddAddressToMailer($mail,"to",$mobile);
$mail->send();
What am I doing wrong?