Reply To: bp_send_email problems – not finding template email
Hey there,
Starting a similar thing and found this thread somewhat useful… can someone help me fill the gaps?
1) @Matt2012, I use Postman too. Did you ever figure this part out?
2) How in the world do you add a new “situation” in BuddyPress Emails? There is NO documentation on this that I can find.
My situation:
Using a cron job to find all sites expired or almost expired and send the users the right email. I have the arrays of users ready to go. I just need to programatically send these user ID’s to be emailed with the correct template.
Those templates would then use their own tokens to fill in the gaps. You site: {{site.name}} is now expired. Do this and that. It expired on: {{expiration.date}}.
How do I do this?