Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #12825

Re: getting php mail error info

From Jerry Stuckle <jstucklex@attglobal.net>
Newsgroups comp.lang.php
Subject Re: getting php mail error info
Date 2014-02-14 06:44 -0500
Organization A noiseless patient Spider
Message-ID <ldkvj5$hs$1@dont-email.me> (permalink)
References <XnsA2D2F27E54CEFR2D2@127.0.0.1> <vilain-FCF04A.23165612022014@news.individual.net> <0.8076f4bbbe009409107c.20140213134214GMT.87iosjdt8p.fsf@bsb.me.uk>

Show all headers | View raw


On 2/13/2014 8:42 AM, Ben Bacarisse wrote:
> Michael Vilain <vilain@NOspamcop.net> writes:
>
>> In article <XnsA2D2F27E54CEFR2D2@127.0.0.1>,
>>   GS <nomail@nospam.org.invalid> wrote:
>>
>>> I've got a php mail script which was working ok but the mail() call
>>> returned a bunch of errors today. The trouble is that it only returns true
>>> or false, I was wondering if there is any way to get more feedback from
>>> sendmail about what what went wrong, since I don't know whether I fed it
>>> bad data or whether sendmail playing up. I can't find any alternative mail
>>> calls I could use in the PHP manual.
>>>
>>> This is on a shared virtual hosting system so I don't have access to the
>>> linux or sendmail configuration and I can't find any log files in my
>>> userspace that pertain to the sendmail calls. The system is running PHP
>>> 5.3.27, I think the OS is Linux 2.6.32.
>>
>> mail() is all you're gonna get in a shared hosting facility.
>
> I've used one shared hosting provided that offered the PEAR Mail module
> which could be used to connect to whatever SMTP server you liked (one of
> which was their own).  It was a while ago, but I think you get better
> error messages from it, though nothing is going to beat getting the
> server's logs for diagnosing the problem.
>
> <snip>
>

How does that solve his problem?  He doesn't want to connect to a 
different email server - he wants to get this one working.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

getting php mail error info GS <nomail@nospam.org.invalid> - 2014-02-12 23:50 +0000
  Re: getting php mail error info Jerry Stuckle <jstucklex@attglobal.net> - 2014-02-12 22:30 -0500
  Re: getting php mail error info Michael Vilain <vilain@NOspamcop.net> - 2014-02-12 23:16 -0800
    Re: getting php mail error info Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-02-13 13:42 +0000
      Re: getting php mail error info Allodoxaphobia <knock_yourself_out@example.net> - 2014-02-14 04:21 +0000
      Re: getting php mail error info Jerry Stuckle <jstucklex@attglobal.net> - 2014-02-14 06:44 -0500
        Re: getting php mail error info Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-02-14 15:00 +0000
          Re: getting php mail error info "Peter H. Coffin" <hellsop@ninehells.com> - 2014-02-15 12:54 -0600
            Re: getting php mail error info Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-02-16 01:06 +0000
            Re: getting php mail error info Jerry Stuckle <jstucklex@attglobal.net> - 2014-02-15 20:24 -0500
  Re: getting php mail error info Derek Turner <frderek@cesmail.net> - 2014-02-13 11:25 +0000

csiph-web