sendmail + active class fix