PHP mail report

Discussion in 'General' started by Hagforce, May 31, 2012.

  1. Hagforce

    Hagforce New Member


    I have a ISPconfig 3 installation where a few domains are located.
    When php mail function is used on these, and the mail can not be delivered, is there a way to send error message to administrator for each site?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Postfix notifies the serber of a email when it can not be delivered, so you just have to use the email address of the administrator as sender address of the email.
  3. Hagforce

    Hagforce New Member

    Thanks, you are right, sender was not set in script :)

Share This Page