fix send mail with 'wrong host name'