[buddypress-trac] [BuddyPress Trac] #7286: BP Email: Allow end user to specify which PHPMailer should be used.
    buddypress-trac 
    noreply at wordpress.org
       
    Tue Nov  8 14:56:09 UTC 2016
    
    
  
#7286: BP Email: Allow end user to specify which PHPMailer should be used.
-------------------------+--------------------
 Reporter:  dcavins      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  2.8
Component:  Emails       |     Version:  2.5.0
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+--------------------
Comment (by dcavins):
 Replying to [comment:4 DJPaul]:
 That's funny, I was just migrating a site to a new server yesterday and
 needing to remember how BP Mail works. Your suggestion sounds good to me,
 and it increases flexibility in a way, because different plugins could
 pass in whatever `PHPMailer` they need to use when calling the delivery
 class--if they were calling the class directly.
 Looking into the plugins taking advantage of the BP Email system that I
 know of--"BP Emails for bbPress" and also @r-a-y's updates to "BP Group
 Email Subscription"--it looks like they both use `bp_send_email()` but
 don't work with the classes directly, so they shouldn't be affected by
 changing the signature of the `BP_PHPMailer` class. Are there plugins you
 know of that are doing something fussier?
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7286#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
    
    
More information about the buddypress-trac
mailing list