a class to send email written in php