problems sending mail() with php

Discussion in 'HOWTO-Related Questions' started by mavgh1, Mar 25, 2006.

  1. mavgh1

    mavgh1 New Member

    I have a SuSE Server with a and some
    When I use function mail() to send emails from my domain and subdomains the From : looks like

    From : www daemon apache <>
    From : www daemon apache <>

    Does anyone now what changes to make to have only email address in header(I don't want to use from header in php script).
  2. till

    till Super Moderator

  3. mavgh1

    mavgh1 New Member

    not from php script

    I dont want to use php script .
  4. till

    till Super Moderator

    But your original question was "problems sending mail() with php".

    Please explain what you want to do and in which programming language do you want to use the mail() function.
  5. mavgh1

    mavgh1 New Member

    maybe I was not very clear

    I dont want to use From : in my php script
    I put in php.ini sendmail_path = /usr/sbin/sendmail -t -i
    Or in main.conf in postfix i made a
    sender_canonical_maps = hash:/etc/postfix/sender_canonical
    In sender_canonical i put

    The result is the same the from looks like
    From : www daemon apache <>
    I dont want to see www daemon apache only <>
  6. mavgh1

    mavgh1 New Member


    I solved my problem.Now default (without from in php script) from server configuration
    From : for my domain
    From : for my subdomains

    Thanks anyway
    Last edited: Mar 26, 2006

Share This Page