Log emails sent via PHP mail

Discussion in 'Installation/Configuration' started by pecka33, Apr 28, 2020.

  1. pecka33

    pecka33 Member

  2. Steini86

    Steini86 Active Member

    I don't know what you have done. Have you adjusted the location of the logfile?
    Code:
    //$logfile = '/tmp/mail_php.log';
    $logfile = '/var/log/mail.form';
    There are a lot of comments to this howto, have you read them (they contain solutions to some of the problems)
     
  3. pecka33

    pecka33 Member

    Thank you. Yes, before i changed path to log file, as i read in comments. I have just create file with codes, edit php ini and change path to log file a created - mail.form
    But emails send via php not log in this file. Maybe i have to do something else. I try look at this again.
     

Share This Page