fix #16 - smtp session is broken