I am trying to send one email using smtp server, but I am getting this below error.
gaierror                                  Traceback (most recent call last)
<ipython-input-17-f14b0f617ec8> in <module>
     14 
     15 try:
---> 16    smtpObj = smtplib.SMTP('nadim70.na@gmail.com',25)
     17    smtpObj.sendmail(sender, receivers, message)
     18    print ("Successfully sent email")
~\anaconda3\lib\smtplib.py in __init__(self, host, port, local_hostname, timeout, source_address)
    249 
    250         if host:
--> 251             (code, msg) = self.connect(host, port)
    252             if code != 220:
    253                 self.close()
~\anaconda3\lib\smtplib.py in connect(self, host, port, source_address)
    334         if self.debuglevel > 0:
    335             self._print_debug('connect:', (host, port))
--> 336         self.sock = self._get_socket(host, port, self.timeout)
    337         self.file = None
    338         (code, msg) = self.getreply()
~\anaconda3\lib\smtplib.py in _get_socket(self, host, port, timeout)
    305             self._print_debug('connect: to', (host, port), self.source_address)
    306         return socket.create_connection((host, port), timeout,
--> 307                                         self.source_address)
    308 
    309     def connect(self, host='localhost', port=0, source_address=None):
~\anaconda3\lib\socket.py in create_connection(address, timeout, source_address)
    705     host, port = address
    706     err = None
--> 707     for res in getaddrinfo(host, port, 0, SOCK_STREAM):
    708         af, socktype, proto, canonname, sa = res
    709         sock = None
~\anaconda3\lib\socket.py in getaddrinfo(host, port, family, type, proto, flags)
    750     # and socket type values to enum constants.
    751     addrlist = []
--> 752     for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
    753         af, socktype, proto, canonname, sa = res
    754         addrlist.append((_intenum_converter(af, AddressFamily),
gaierror: [Errno 11003] getaddrinfo failed