Results 1 to 6 of 6

Thread: mail()

  1. #1

    Thread Starter
    Hyperactive Member wordracr's Avatar
    Join Date
    Aug 2001
    Posts
    281

    mail()

    I get this error when trying to send an email using mail() : Warning: Server Error in c:\apache\htdocs\email.php on line 3.

    I'm just running Apache 1.3.23 and PHP 4.* on my computer and wondering if I'm missing another program or just some settings.


    Is there anything I should add to httpd.conf or php.ini?

  2. #2
    sifuhall
    Guest
    so what does line 3 look like in your email.php script?

  3. #3
    Fanatic Member cpradio's Avatar
    Join Date
    Apr 2002
    Posts
    616
    what is the code you are using exactly as you have written it, and are you running php locally on your computer or on a virtual server?

    -Matt
    http://cpradio.net/
    Administrator @ WDForums and a Moderator @ WebXpertz City Forums

  4. #4

    Thread Starter
    Hyperactive Member wordracr's Avatar
    Join Date
    Aug 2001
    Posts
    281
    It doesn't matter what I type in, it's probably not a syntx error.

    mail ("[email protected]", "Subject", "Body");

  5. #5
    Fanatic Member cpradio's Avatar
    Join Date
    Apr 2002
    Posts
    616
    are you running on a server that is maintained by a hosting company or are you running it off your computer?

    -Matt
    http://cpradio.net/
    Administrator @ WDForums and a Moderator @ WebXpertz City Forums

  6. #6

    Thread Starter
    Hyperactive Member wordracr's Avatar
    Join Date
    Aug 2001
    Posts
    281
    my computer... that's where the problem lies. I don't have a server set up for mail, I just want to test the function(ality). Is there a way I can do this?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width