changed to php + sendmail