by Dan Marsden.
Moodle 2.3 is pretty old and contains a range of bugs included security related bugs that could allow someone to compromise your site. You should upgrade to see if that helps.
debugging e-mail issues can be difficult - there are a few similar forum threads that might give you some ideas:
https://moodle.org/mod/forum/discuss.php?d=280158