Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.7

Request #16064 add a callback system to allow sent mails to be tracked
Submitted: 2009-04-03 19:09 UTC
From: kguest Assigned: till
Status: Closed Package: Mail_Queue (version 1.2.2)
PHP Version: 5.2.5 OS:
Roadmaps: 1.2.3    
Subscription  


 [2009-04-03 19:09 UTC] kguest (Ken Guest)
Description: ------------ After adding functionality to net_smtp and the mail packages for getting the esmtp id ("queued as") value of mails sent via those components I found I also needed a callback system in mail_queue so I could record the esmtp IDs against the files I was sending as attachements with it. This was done by modifying the sendMailsInQueue method to accept the name of a callback function which it would call prior to deleting the relevant entry from the mail_queue table. Here's a patch for it.

Comments

 [2009-04-03 19:12 UTC] kguest (Ken Guest)
The following patch has been added/updated: Patch Name: mail-queue-queued-as-patch Revision: 1238767940 URL: http://pear.php.net/bugs/patch-display.php?bug=$bug&patch=$patch_name&revision=$e&display=1
 [2009-04-03 19:12 UTC] kguest (Ken Guest)
The following patch has been added/updated: Patch Name: mail-queue-queued-as-patch Revision: 1238767941 URL: http://pear.php.net/bugs/patch-display.php?bug=$bug&patch=$patch_name&revision=$e&display=1
 [2009-09-04 05:46 UTC] till (Till Klampaeckel)
-Status: Open +Status: Closed -Assigned To: +Assigned To: till -Roadmap Versions: +Roadmap Versions: 1.2.3
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.