SMTP Client complete rewrite
to use mixed event approch more simple to program