Results 1 to 6 of 6

Thread: mail() php

  1. #1
    Join Date
    Sep 2006
    Location
    Hobart Australia
    Beans
    209
    Distro
    Kubuntu 11.04 Natty Narwhal

    mail() php

    Is there a way to check if mail is being sent from a script (php)?
    I have installed sendmail and I don't get any error messsages and I can't see sendmail in usr/bin.
    That is where it says it is when I run my info.php file. (phpinfo()).

  2. #2
    Join Date
    Mar 2006
    Location
    Eefde, The Netherlands
    Beans
    432
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: mail() php

    How about sending mail to an account you own? On my system the sendmail binary is located in /usr/sbin, not /usr/bin.
    "When in doubt, use brute force."

    -- Ken Thompson

  3. #3
    Join Date
    Sep 2006
    Location
    Hobart Australia
    Beans
    209
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: mail() php

    Thanks. I looked there and it was not there so I uninstalled sendmail and reinstalled. It is now there. That is a link to '/usr/lib/sm.bin/sendmail'.

  4. #4
    Join Date
    Sep 2006
    Location
    Hobart Australia
    Beans
    209
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: mail() php

    Still not actually sending e-mails and general slow down of internet connection. Any clues?

  5. #5
    Join Date
    Jun 2006
    Location
    Gwangju, Korea
    Beans
    3,479

    Re: mail() php

    Can you send mail from the command line?
    Code:
    echo "test message" | mail -s "My subject" your@email.com

  6. #6
    Join Date
    Sep 2006
    Location
    Hobart Australia
    Beans
    209
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: mail() php

    I get 'mail command not found'

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
  •