Menu

Error in mail()

JW
2002-03-08
2002-03-10
  • JW

    JW - 2002-03-08

    Hey,

    Just set this up.. first time I tried to add a new to-do with "notify" checked I got the following error:

    Warning: Wrong parameter count for mail() in /home/webhome/ccslan/htdoc/tts/ipm-0.8/index.php on line 267

    Other then that it seems to be working _great_.

    Any ideas how to fix this??

     
    • phlux

      phlux - 2002-03-09

      You must be running a version of php lower than 4.0.5

      For a quick fix, set $ipmaddress="" in the config.php file. Versions of PHP prior to 4.0.5 took 3 arguments for mail() versions after 4.0.5 take 4 arguments. To check your php version make a page with

      <? phpinfo(); ?>

      as the code. Then browse to it.

       
    • JW

      JW - 2002-03-10

      Hey, Yes it is 4.0.4

      I changed the following in config.php:

      $ipmaddress="IPM@yourdomain.com";

      became:

      $ipmaddress="";

      Keep the semicolon right?

      Anyway, that didn't work either, I still get:

      Warning: Wrong parameter count for mail() in /home/webhome/ccslan/htdoc/tts/ipm-0.8/index.php on line 267

      What else can I do?

      Thanks.

       

Log in to post a comment.

MongoDB Logo MongoDB