Advertisement
PalmaSolutions

PHP mail() headers

Apr 18th, 2018
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. for i in `ls`
  2. do
  3. echo -e "mail.add_x_header = On\n" >> /home/$i/public_html/php.ini
  4. echo -e "mail.add_x_header = On\n" >> /home/$i/public_html/.user.ini
  5. echo -e "mail.log = /home/$i/phpmail.log\n" >> /home/$i/public_html/php.ini
  6. echo -e "mail.log = /home/$i/phpmail.log\n" >> /home/$i/public_html/.user.ini
  7. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement