my mail() doesn't work

Discussion in 'HOWTO-Related Questions' started by arastirici, Oct 31, 2009.

  1. arastirici

    arastirici New Member

    I use php5, qmail, apache2 and opensuse11.

    I couldn't send a mail with mail() in php5.

    I don't get any error as php

    I get a mesage as below mail log
    Oct 31 17:56:51 php qmail: 1257004611.252948 new msg 1958248
    Oct 31 17:56:51 php qmail: 1257004611.252978 info msg 1958248: bytes 322 from <root@php> qp 4343 uid 0
    Oct 31 17:56:51 php qmail: 1257004611.287998 end msg 1958248
    Oct 31 18:06:59 php qmail: 1257005219.012135 status: exiting

    And the mail didn't go.

    How can I correct this problem?

    if the problem is qmail, I wish to active sendmail.

    How can I run sendmail on opensuse11?

    my php ini;
    [mail function]
    ; For Win32 only.
    SMTP = localhost
    smtp_port = 25

    ; For Win32 only.
    ;sendmail_from = [email protected]

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




    thanks
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Any errors in your mail log?
     

Share This Page