I'm not sure if someone would know a way to do this - but basically users can register in my wordpress site (classified site), and then email other users via a profile contact form.
This uses wp-email-smtp and the "from address" is the registered users email address.
The problem I have is that sometimes a scammer will register on the site and contact anywhere from 20 to 100 users.
I want to create some kind of limit... basically when wp-email-smtp sends an email from a particular address, it will prevent a the same email address from sending more than say 10 emails in the space of 4 hours or something.
This might need to be a child plugin (if there is such a thing) for wp-email-smtp...
Any thoughts/ideas?
Kim