Re: PHPMailer not working but Squirell mail works
| From: | Shiplu | Date: | Fri, 13 Jun 2008 17:40:51 +0000 |
| Subject: | Re: PHPMailer not working but Squirell mail works | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-275348@lists.php.net to get a copy of this message | ||
On Fri, Jun 13, 2008 at 12:00 PM, Boyd, Todd M. <tmboyd1@ccis.edu> wrote:
> > -----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?
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
>
>
>
>