Log emails - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Development Area (/forum-1.html) +--- Forum: General discussion (/forum-11.html) +--- Thread: Log emails (/thread-7749.html) |
Log emails - morb - 09-04-2009 03:16 AM Hi there, How can I log emails sent from mail function on php ?? And know how many mails has certain user sent tought smtp? Thankz in advance RE: Log emails - Knut - 09-04-2009 04:00 AM Hi, copy this script as /usr/sbin/sendmail-php Code: !/usr/bin/perl then Code: chmod +x /usr/sbin/sendmail-php change your php.ini for the sites Code: ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). maybe restart Apache ... done. (original by J-B (21.11.2006) @ sysop-forum.de) |