NYCPHP Meetup

NYPHP.org

[nycphp-talk] mail() inconsistency/problem

Morgan Craft morgan at forsalebyowner.com
Thu Mar 30 17:03:16 EST 2006


This is what I use though the zend framework is showing promise.
http://phpmailer.sourceforge.net/



Michael Southwell 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