Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2003022

Re: [PHP] php.ini for UNIX sendmail???? From: Adam Voigt (adam <email protected>)
Date: 02/18/03

Well your missing your \r\n at the end of your return path.

On Tue, 2003-02-18 at 10:57, Scott Fletcher wrote:

    Here's the command...
    
    --clip--
    mail("zookqvalem <email protected>", "the subject", $message,
    "From: webmaster@$SERVER_NAME\r\n"
    ."Return-Path: scott <email protected>"
    ."Reply-To: webmaster@$SERVER_NAME\r\n"
    ."X-Mailer: PHP/" . phpversion());
    --clip--
    
    The bad thing is that when I send the mail. I never get an email
    back when something is not working right by using the return-path.
    
    
      "Adam Voigt" <adam <email protected>> wrote in message
    news:1045582206.1976.8.camel <email protected>
      Oh, ok, well how about your PHP code then (the actual mail()
    line)?
    
      On Tue, 2003-02-18 at 10:34, Scott Fletcher wrote:
        Here's is the response to the command, 'where sendmail'.
>>bash: where: command not found
    
        So, I don't have a where command but I did the phpinfo() and it
    showed .....
    
        --clip--
        Directive || Local Value || master value
       
    --------------------------------------------------------------------------------------------------------
        sendmail_from || no value || no value
        sendmail_path || /usr/sbin/sendmail -t -i || /usr/sbin/sendmail
    -t -i
        --clip--
    
        I don't have email problem when I send email to anywhere, the
    only problem is the yahoo itself...
    
        Thanks...
        "Adam Voigt" <adam <email protected>> wrote in message
    news:1045581738.1976.6.camel <email protected>
        Umm, are you asking for Sendmail's path?
        It's usually /usr/bin/sendmail -t -i but you can verify where it
    is
        on your system by typing "where sendmail".
    
        On Tue, 2003-02-18 at 10:25, Scott Fletcher wrote:
        Hi!
    
        What is the appropriate filepath with the flag command for the
    sendmail on
        the UNIX machine?? I send an email to yahoo and got the error
    message which
        I'm going to paste it here...
    
        --clip--
        ----- The following addresses had permanent fatal errors -----
        xyz <email protected>
    
        --- The transcript of the session follows ---
        ... while talking to mx2.mail.yahoo.com.:
>>> MAIL From:<root <email protected>> SIZE=40
        <<< 501 Syntax error in parameters or arguments
        501 xyz <email protected> Data format error
        --clip--
    
        One thing I know for sure is that the sendmail is working and
    that hte
        PHP code is working. I don't think I did the bad php command.
    Could it be
        the sendmail command be set wrong???
    
        Thanks,
        FletchSOD
    
    
    
        --
        PHP General Mailing List (http://www.php.net/)
        To unsubscribe, visit: http://www.php.net/unsub.php
    
        --
        Adam Voigt (adam <email protected>)
        The Cryptocomm Group
        My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc
    --
    Adam Voigt (adam <email protected>)
    The Cryptocomm Group
    My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc

-- 
Adam Voigt (adam <email protected>)
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc