RE: [PHP] PHPMailer not working but Squirell mail works

From: Date: Fri, 13 Jun 2008 16:00:51 +0000
Subject: RE: [PHP] PHPMailer not working but Squirell mail works
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-275344@lists.php.net to get a copy of this message
> -----Original Message----- > From: Shiplu [mailto:shiplu.net@gmail.com] > Sent: Friday, June 13, 2008 10:55 AM > To: PHP General list > Subject: [PHP] 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

« previous php.general (#275344) next »