Mibew Messenger Community
General => Support => Topic started by: orvar on March 09, 2009, 11:07:36 PM
-
Hi,
I have been testing Web Messenger and am very happy with it, everything works except one thing.. I was trying out the Agent offline form, Leave a message when I got this error;
Warning: mail() [function.mail]: SMTP server response: 451 See http://pobox.com/~djb/docs/smtplf.html. in D:\Hosting\4017708\html\webim\libs\common.php on line 497
The Web Messenger is setup on my account with godaddy.com.
Please help my solve this..
Thanks,
Örvar
-
In addition, I made a blank php and tried this script on the server and it worked with out any problems..
<?php
mail("youremail@gmail.com", "Mail function works", "Message Body", "From: webim@yourdomain.com\r\nContent-Type: text/plain; charset=utf-8\r\nX-Mailer: PHP/".phpversion());
?>
Still need help fixing this error.. any suggestions?
-
Insert:
$body = preg_replace("/\n/","\r\n", $body);
into webim/libs/common.php, function webim_mail(...), before:
mail($toaddr, $real_subject, wordwrap(myiconv($webim_encoding, $mail_encoding, $body),70), $headers);
Hope it will help :)
Evgeny.
-
Thanks for the reply, this worked of course ;)