> -----Original Message----- > From: Shiplu [mailto:shiplu.net@xxxxxxxxx] > Sent: Friday, June 13, 2008 10:55 AM > To: PHP General list > Subject: PHPMailer not working but Squirell mail works > > Hi, > > In my web server, I cant send mail by PHPMailer. But If I login by the > squirellmail webclient my hosting provider gave, it sends email > promptly. > Can anyone tell me what could be the reason? Let's start with a LOT more information about your situation. What version of PHP? What hosting platform? Is SMTP set in your php.ini? If not, do you use ini_set(smtp, 'host.name.here')? Is your SMTP port set correctly (see above 2 questions)? Are you sure SquirrelMail and PHP's mail() function are using the same SMTP server? Has your hosting provider denied mail()? ... Generally, coming to a list with, "This is broken. Why?" will not get you a helpful response. (At least, not very quickly.) Until my copy of Outlook's MindReader plug-in starts functioning properly, more information will be needed. :) Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php