Update mailing.php

That's probably an ugly update but it helps me to have mail notify app runs with OC6.xx