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


Groups > comp.lang.php > #12814

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-12 22:30 -0500
Organization A noiseless patient Spider
Message-ID <ldhe80$5ct$1@dont-email.me> (permalink)
References <XnsA2D2F27E54CEFR2D2@127.0.0.1>

Show all headers | View raw


On 2/12/2014 6:50 PM, GS 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.
>

GS,

Unfortunately, all PHP gets back from sendmail is true or false - 
whether sendmail accepted the request or not.

Any further information would have to come from the sendmail logs; I 
suggest you contact your hosting company to see what they changed, and 
perhaps a copy of their sendmail logs.

-- 
==================
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