Opened 8 years ago
Closed 8 years ago
#7427 closed enhancement (fixed)
New actionhook bp_send_mail
Reported by: | mahype | Owned by: | DJPaul |
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | 2.5.0 |
Component: | Emails | Keywords: | dev-feedback |
Cc: |
Description
At the moment it is not possible to change email content before sending depending on who is the recipient, because there is no actionhook. In the added diff I added one.
Attachments (2)
Change History (7)
#1
@
8 years ago
It's possible to modify the email post object on the 'bp_email_validate'
filter with the second BP_Mail
parameter, but I'll let @djpaul chime in here.
#2
@
8 years ago
- Component changed from Core to Emails
- Keywords dev-feedback added
- Milestone changed from 2.8 to Awaiting Review
- Owner set to DJPaul
- Version set to 2.5.0
#3
@
8 years ago
There is an actionhook, but it's no reference in the object parameter. Also I would say this would be a very hidden way to offer the people an influence to the content of the email. I not came on the idea to look at this part of the code.
Actionhook bp_send_email