sendHTML with custom headers