this may be a hack, but it fixes our Padrino::Mailer sinatra app mailing. If I have time, I may look into the reasons for this bug