Issue #4239: adjust email examples not to use connect() and terminate with
quit() and not close().
4 files changed