Код: Выделить всё
def connect(host,user,password)
try:
smtp = smtplib.SMTP(host)
smtp.login(user, password)
code = smtp.ehlo()[0]
if not (200
Подробнее здесь: [url]https://stackoverflow.com/questions/21826829/python-smtplib-set-timeout[/url]Код: Выделить всё
def connect(host,user,password)
try:
smtp = smtplib.SMTP(host)
smtp.login(user, password)
code = smtp.ehlo()[0]
if not (200
Подробнее здесь: [url]https://stackoverflow.com/questions/21826829/python-smtplib-set-timeout[/url]