Update function sendmailer by Mawin