Send mail from other address than webmaster

Discussion in 'Installation/Configuration' started by etragardh, Apr 21, 2015.

  1. etragardh

    etragardh New Member

    Hi.
    Every time I send an email from a site with php mail function the email is sent from [email protected] no matter what I specify in the from header. I have also tried setting the ServerAdmin directive in apaches config file from command line as well as in the apache directives box in ispconfig admin interface.

    Nothing seems to help me send email from an alternative email. Where is this handled and how do I change it?

    My current environment is debian wheezy with ispconfig 3.0.5.4p5
    I use a smtp relay provided by my ISP for sending emails.

    Thanks in advance.
    /e
     
  2. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    You can add
    sendmail_path = "/usr/sbin/sendmail -t -i [email protected]"
    to the custom php-settings
     

Share This Page