I use Pear Mailer and Mail Queue to send emails. Is it possible to save a record of each mail in the mail_queue table, and not be deleted as soon as it is sent?
It would be useful to track mail for debugging.
Many thanks,
Chris
Read the section called “Using callbacks to create reports” at http://pear.php.net/manual/en/package.mail.mail-queue.mail-queue.tutorial.php .All you have to do is (copy it and) implement a function insert_to_logto write data to a separate log table.
insert_to_log
Source: https://habr.com/ru/post/1792017/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1792012/redirect-io-of-process-to-windows-socket&usg=ALkJrhj3BbUaQN108xEEJrHgqHlEuElssggetting java.lang.IllegalArgumentException: Invalid pattern character 'o'? when parsing java.text.SimpleDateFormat - javaMessage in ASP.NET text box - c #Unix behavior with two different processes containing a descriptor in one file and one process deleting a file - unixWhat is the basic AOP design model? - designCherryPy 60x as slow in test with 8 requesting threads versus 7 - pythonUsing OpenGL to display a 2D map or not? (Android 3.0 SDK) - androidНе удается получить доступ к классам в пакете по умолчанию - javaDefining indexes for related models with Thinking Sphinx - ruby-on-railsGetting a submit form for a submit event - javascriptAll Articles