Results 1 to 4 of 4

Thread: Apache

  1. #1
    Junior Member
    Join Date
    Jul 2001
    Posts
    3

    Question Apache/php

    blah

  2. #2
    AO Antique pwaring's Avatar
    Join Date
    Aug 2001
    Posts
    1,409
    Have you correctly configured the SMTP setting in the php.ini file? If not, you will be unable to send external mail using the mail() function (I assume this is what you are trying to do). Find the setting in the php.ini file and change it to your smtp server (most likely to be: smtp.[yourisp].com.
    Paul Waring - Web site design and development.

  3. #3
    Junior Member
    Join Date
    Jul 2001
    Posts
    3

    thanks for the reply

    Heh, would have helped if I had installed php..

    Now that I have php installed I tried to send the email again. Now I get a new error message:

    Warning: Failed to Connect in c:\program files\apache\apache\htdocs\mail.php on line 19
    Couldn't send mail!

    I believe I have everything set up correctly, I added the info to the php.ini like you said.

    Here is the source for my php file:

    (source edited out)

    Any ideas how to get this to work?

    Thanks.

  4. #4
    Junior Member
    Join Date
    Jul 2001
    Posts
    3

    Thumbs up I'm a dumbass

    problem solved (typo of the smtp server)

Posting Permissions

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