// Close Terminate SMTP negotiation client and close connection.
Close Terminate SMTP negotiation client and close connection.
// Close Terminate SMTP negotiation client and close connection .
func (s *smtpClient) Close() {
	if s.cli != nil {
		if e := s.cli.Quit(); e != nil {
			_ = s.cli.Close()
		}
		s.cli = nil
	}
	if s.con != nil {
		_ = s.con.Close()
		s.con = nil
	}
}
func ( s * smtpClient ) Close ( ) { if s . cli != nil { if e := s . cli . Quit ( ) ; e != nil { _ = s . cli . Close ( ) } s . cli = nil } if s . con != nil { _ = s . con . Close ( ) s . con = nil } }
Close Terminate SMTP negotiation client and close connection.
Close Terminate SMTP negotiation client and close connection .