Results 1 to 3 of 3
  1. #1

    php sends nobody as mail originator with sendmail

    I am using a shopping cart that is written in php. My E-mail transport is sendmail.

    My problem is when the e-mail is sent out, it uses account 'nobody' from linux as the sender and not [email protected] Tech poeple at the shopping cart forum, feel that this is a problem with php and sendmail not communicating properly or my system is setup wrong.

    I would appreciate your help on this matter. Following are some some of the info that I thought might be helpfull.

    I should add that all regular mail (not related to the shhopping cart or php) gets transffered properly.

    Return-Path: <[email protected]>
    Received: (from [email protected])
    by (8.11.6/8.11.6) id j6J2dfgdS601594;
    Mon, 18 Jul 2005 19:39:28 -0700
    To: [email protected]
    Subject: Message from My Store
    Date: Mon, 18 Jul 2005 19:39:28 -0700
    From: sdasdasd <[email protected]>
    Reply-to: My Store <[email protected]>
    Message-ID: <[email protected]>
    X-Priority: 3
    X-Mailer: PHPMailer [version 1.72]
    MIME-Version: 1.0
    Content-Transfer-Encoding: 8bit
    Content-Type: text/plain; charset="iso-8859-1"

    So when ISPs see a mail from nobody they immediatley reject it.

    The original message was received at Mon, 18 Jul 2005 21:15:09 -0700
    from [email protected]

    ----- The following addresses had permanent fatal errors -----
    [email protected]
    (reason: 554 <[email protected]>: Sender address rejected: Domain not found)

    ----- Transcript of session follows -----
    ... while talking to
    >>> RCPT To:<[email protected]>
    <<< 554 <[email protected]>: Sender address rejected: Domain not found
    554 5.0.0 Service unavailable


  2. #2
    Join Date
    May 2002
    From your example it looks like the mail was rejected for reasons other than the mail being sent from nobody. If you make sure that MyServer.MyDomain.Com in your example has all the correct DNS entires so that other mail servers can verify it exists, then your mail should go through.

    You might want to check here to see if your mail server is set up so that other hosts can test it's existence:

    You would probably want to check MyServer.MyDomain.Com from your example, of course you want to enter your real mail servers name.

  3. #3
    This came straight from, so I hope it helps:

    PHP Code:
    [email protected]';
    $subject 'the subject';
    $message 'hello';
    $headers 'From: [email][email protected][/email]' "\r\n" .
    'Reply-To: [email][email protected][/email]' "\r\n" .
    'X-Mailer: PHP/' phpversion();


Posting Permissions

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