Re: mail() different php4 <-> php5



Hanjo,

is the mail() different in php4 vs. php5 ?

No, it is the same.

I have a php-script sending mail. It works fine in php4.
But it works not in php5 : No errors, only it sends no mail.

Double check the email address, and watch the server log files and see if it is something at the server level.


Most likely your problem is related to a bad email address or a misconfiguration in your mail settings.

Mike
.



Relevant Pages

  • Re: Zend Debug problem
    ... > phpinfo and everything looks fine.Mysql,apache and php5 on windows. ... As of PHP5, MySQL is not part of the PHP5 core anymore, did you check ...
    (alt.php)
  • Re: Ignoring Case
    ... Mike wrote: ... with pick up both 'School' and 'school'? ... When you run PHP5, you can use the str_ireplacefunction; ... can use preg_replace with the "i" modifier. ...
    (alt.php)