fixed Issue 1456:encoding in mail.send, thanks Corne