Hi I wonder if anyone else had this problem and find a fix...
I followed the installation steps end everything works great so far except sending emails. I get no errors, just confirmation that the message was sent. The PHP mail is ok, as I have another script on the same server which works
Here is the webim_mail function in notify.php which I dont think is working:
function webim_mail($toaddr, $reply_to, $subject, $body, $link)
{
global $webim_encoding, $webim_mailbox, $mail_encoding, $current_locale;
$headers = "From: $webim_mailbox\r\n"
. "Reply-To: " . myiconv($webim_encoding, $mail_encoding, $reply_to) . "\r\n"
. "Content-Type: text/plain; charset=$mail_encoding\r\n"
. 'X-Mailer: PHP/' . phpversion();
$real_subject = "=?" . $mail_encoding . "?B?" . base64_encode(myiconv($webim_encoding, $mail_encoding, $subject)) . "?=";
$body = preg_replace("/\n/", "\r\n", $body);
mail($toaddr, $real_subject, wordwrap(myiconv($webim_encoding, $mail_encoding, $body), 70), $headers);
}
?>