Changed mail send procedure (using sendmail now)