Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
649 views
in Q2A Core by
reshown by
My website is on a shared hosting and there are limitations for sending Emails in these hosts. I need to limit the number of emails sending from my website. For example 50 Emails per hour. Is it possible?

Thank you for your help.
by
This is not straight away possible but can be easily done by overriding the send function for email. But if you do this and then a user clicks "forget password" what'll happen?
by
@Gate Overflow
In that case the user should try again one hour later!
Could you please explain in more details which function should be overridden?
by
Q2A core is pretty simple. You can see that here
https://github.com/q2a/question2answer/blob/dev/qa-include/app/emails.php

But this change is not at all recommended for a user experience point of view. You should rather control spam users and may be even remove notification emails for comment follows etc.
by
Thank you Gate Overflow for your comment. How is it possible to remove notification emails for comment follows?

Please log in or register to answer this question.

...