[nycphp-talk] mail() inconsistency/problem
edward potter
edwardpotter at gmail.com
Wed Mar 29 22:26:19 EST 2006
jump on the log files: mail, server, etc. if the mail did not go out,
somewhere that was noted, and probably the reason why. log files are
your friends.
-ed potter :-)
On 3/29/06, Michael Southwell <michael.southwell at nyphp.org> wrote:
> I have this simple 3-line test script (which actually says dneba.com
> rather than example.com ;-):
>
> <?php
> if ( mail( 'southwell at example.com', 'simple testing', 'no
> variables here' ) === FALSE ) echo 'There was an error accepting your
> review. Please try again later.';
> else echo 'Your mail was sent.';
>
> Running it from domain #1 (and also #3, 4, and 5) works
> perfectly. Running it from domain #2 gives a confirmation message,
> but the mail never arrives.
>
> Aha, #2 is running php 5.1.2 and the others are still 4. But the php
> docs don't tell me anything about why this extremely simple example
> will work in 4 and not 5. Any ideas?
>
> Michael Southwell, Vice President for Education
> New York PHP
> http://www.nyphp.com/training - In-depth PHP Training Courses
>
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
> New York PHP Conference and Expo 2006
> http://www.nyphpcon.com
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
More information about the talk
mailing list