fix open smtp connection