logging mail sent through php script from website

Discussion in 'ISPConfig 3 Priority Support' started by pawan, Mar 23, 2016.

  1. pawan

    pawan Member

    Hi please guide me how I can log the mails sent from a website from a suspicious script or website form as to from which website it originated.
    I have read some where that I can add to php.ini file for logging like this:
    mail.add_x_header = On
    mail.log = /var/log/phpmail.log
    is this correct code and if yes in which php.ini file I can add this?

Share This Page