Opened 9 years ago
Closed 9 years ago
#7427 closed enhancement (fixed)
New actionhook bp_send_mail
| Reported by: | mahype | Owned by: | DJPaul |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8 |
| Component: | Emails | Version: | 2.5.0 |
| Severity: | normal | 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
@
9 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
@
9 years ago
- Component Core → Emails
- Keywords dev-feedback added
- Milestone 2.8 → Awaiting Review
- Owner set to
- Version → 2.5.0
#3
@
9 years ago
There is an actionhook, but it's no reference. 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Actionhook bp_send_email