Good-Bids / goodbids

0 stars 0 forks source link

Send email to site admins when reward is claimed #923

Closed clatwell closed 6 months ago

clatwell commented 6 months ago

The PR essentially duplicates the the Reward Claimed email to the Auction Winner to send to the Site Admins.

I know the trigger_on_reward_claimed isn't right since I just copied it over from the Auction Reward Claimed email. I could use some help updating that so it sends to all the site admins, like we have here.

Let me know what else I missed!

clatwell commented 6 months ago

Hey @bd-viget, I must not have been as close as we thought because I tested this on Staging and the Auction Reward Claimed Admin email didn't fire :(

https://staging.goodbids.org/seagull/wp-admin/admin.php?page=wp-mail-smtp-logs

I can see the in WP Mail SMTP logs that the Reward Claim Confirmation for the winner did send, but the corresponding admin email isn't showing up:

Screenshot 2024-04-24 at 2 07 23 PM

If you have a few minutes, do you mind investigating to see what else I missed in this PR? Thanks, and sorry for the hassle.