Recently I changed my project to a new server and when I registered a user it throws an error while sending mail.
My code is this.
function test(Reque