Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #12834
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsfeed.fsmpi.rwth-aachen.de!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "Peter H. Coffin" <hellsop@ninehells.com> |
| Newsgroups | comp.lang.php |
| Subject | Re: getting php mail error info |
| Date | Sat, 15 Feb 2014 12:54:41 -0600 |
| Lines | 23 |
| Message-ID | <slrnlfvdvh.v5n.hellsop@nibelheim.ninehells.com> (permalink) |
| References | <XnsA2D2F27E54CEFR2D2@127.0.0.1> <vilain-FCF04A.23165612022014@news.individual.net> <0.8076f4bbbe009409107c.20140213134214GMT.87iosjdt8p.fsf@bsb.me.uk> <ldkvj5$hs$1@dont-email.me> <0.8da7462b1e3ff8032143.20140214150028GMT.87wqgxbuyb.fsf@bsb.me.uk> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net qWLUORdLIGF5N5C8uC8cQA4X75jZF7FI60Bicaf1qEqgiM9Dzc |
| X-Orig-Path | nibelheim.ninehells.com!_news |
| Cancel-Lock | sha1:VzO6FJ0MUxQZEnun8322N8bNN9E= |
| User-Agent | slrn/0.9.9p1 (OpenBSD) |
| Xref | csiph.com comp.lang.php:12834 |
Show key headers only | View raw
On Fri, 14 Feb 2014 15:00:28 +0000, Ben Bacarisse wrote: > Often, (usually? always?) the local sendmail is just a client that > connects to the local MTA. If you use the Mail module to connect, you > can, sometimes, get more error information than you do from mail(). > Nothing that happens once the message is queued, of course, but if the > mail logs are inaccessible, it might be better than the success/fail > from PHP's mail() function. OP said the mail() returned false. That's not usually a problem that's going to show up in mail logs, because it's not even gotten as far as something that logs anything. Why a mail submission would fail varies by host OS, too. Pretty much NOTHING short of a systemwide mail failure or a blatantly obvious problem with the submission (Nothing in the $to, for example) will get a mail() fail on a unix system. Windows will fail a mail() if the remote Mail Transport Agent doesn't answer or rejects the mail, which it *may* do for any reason, including "you've sent too much mail lately". In that case, yeah, it might be tricky, but there's still going to be no logs to look at. -- Cunningham's First Law: Any sufficiently complex deterministic system will exhibit non-deterministic behaviour.
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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