开发者

Pear Mail Queue - logs/records?

I am using Pear Mailer and the Mail Queue to send开发者_开发问答 emails. Is it possible to keep the record of each mail in the mail_queue table rather than it being deleted as soon as it is sent?

It would be useful to track the mail for debugging.

Many thanks,

Chris


Read the section "Utilising Callbacks for Report Generation" on http://pear.php.net/manual/en/package.mail.mail-queue.mail-queue.tutorial.php.
All you have to do is (copy it and) implement the function insert_to_log to write the data in a separate log table.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜