send email using php wrapper