Fix SMTPlib error with encoding