On Fri, Jun 13, 2008 at 12:00 PM, Boyd, Todd M. <tmboyd1@xxxxxxxx> wrote: > > -----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? 5.2.4 > What hosting platform? Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.4 > Is SMTP set in your php.ini? SMPT = localhost If not, do you use ini_set(smtp, 'host.name.here')? > Is your SMTP port set correctly (see above 2 questions)? smtp_port = 25 > > Are you sure SquirrelMail and PHP's mail() function are using the same > SMTP server? well, I am using the squirrelmail that I got from cpanel. its not installed in any path. > > Has your hosting provider denied mail()? no. Only dl,passthru,proc_open,proc_close,shell_exec,system are disabled > > ... > > 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 > > > >