Results 1 to 5 of 5

Thread: "sendmail_from" not set in php.ini or custom "From:" header missing

  1. #1
    Join Date
    Oct 2004
    Posts
    2

    Unhappy "sendmail_from" not set in php.ini or custom "From:" header missing

    Aloha:
    Iv installed OpenRealty some days ago, and I could not get it to
    work yet.
    On opeening the first page or /admin/ I get:
    Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in D:\home\work\open-realty115b\include\main.php on line 1359
    There's been a problem -- please contact the site administrator

    Im using winXP + apache2 + PHP4 + MySql4
    in the php.ini i have set:

    [mail function]
    ; For Win32 only.
    SMTP = mail.coconut-wireless.net
    smtp_port = 25

    ; For Win32 only.
    sendmail_from = gilad@coconut-wireless.net

    ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
    ;sendmail_path =

    Im playing around with everything I think can e related, but still no luck.
    Please Help.
    Mahalo.

  2. #2
    Join Date
    Jan 2004
    Location
    Minnesota
    Age
    34
    Posts
    166

    Default

    have you restarted apache since the change?

    secondly did you modify the correct php.ini file?

  3. #3
    Join Date
    Oct 2004
    Posts
    2

    Default Thank you for the reply

    Yes I did restart the apache, and I belive I changed right php.ini , I have used
    mail() from command line and it worked well.
    So Im still lost.

  4. #4
    Join Date
    Feb 2005
    Location
    Manchester, New Hampshire, USA
    Posts
    20

    Default

    Re-start your computer.

    I just had the same problem, but realized I've also been having difficulty changing my php.ini file. I make a change, re-start Apache and whatever, but the change does not show. I've been checking to see if there is another php.ini in another location, but no. Then, this AM when I checked phpinfo() again, the changes were there.

    I just corrected for the same error you have, then re-started. Works fine.

    Anyone know what's going on with php.ini I would like to know. Is it stored in cache or something?

    At least, OR is coming along nicely now.

    Regards,

    Tom

  5. #5
    Join Date
    Feb 2005
    Location
    Manchester, New Hampshire, USA
    Posts
    20

    Default

    I'm going to change my answer. When I tested I realized the MySQL database was not running. With it running I had the same problem. This seems to have been due to the password 'bug' in current releases of MySQL.

    see: click here

    The command line syntax is:

    mysql -u root-p

    SET PASSWORD FOR user@localhost = OLD_PASSWORD('password');

Bookmarks

Posting Permissions

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