@woggioni no, here other issue if set parameter useSsl = true in newSmtp then 
error raise in net.nim
    
    
    when defineSsl: #in our case true!
        if socket.isSSL: #in our case true!
          # RFC3546 for SNI specifies that IP addresses are not allowed.
          if not isIpAddress(address):
            # Discard result in case OpenSSL version doesn't support SNI, or 
we're
            # not using TLSv1+
            discard SSL_set_tlsext_host_name(socket.sslHandle, address)
          
          let ret = SSLConnect(socket.sslHandle)
          socketError(socket, ret) #in our case here error
    

sorry, I don't understand this block 

Reply via email to