Reorganised NET.SMTP-CLIENT code.