fix srp tests, bad mailer function
Merge pull request #142 from dannycoates/master

fix srp tests, bad mailer function