еще пачка изменений, циферки, лифт, пиздюки, коллизии

This commit is contained in:
Andron666
2022-07-10 12:44:24 +05:00
parent 27decfd074
commit 2f0730d3a8
30 changed files with 3 additions and 3 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+3 -3
View File
@@ -22,9 +22,9 @@ else:
sys.exit()
def send_email(addr_to, msg_subj, msg_text, files):
addr_from = "print@enco72.ru" # Отправитель
addr_from = "info@masharov-kvartal.ru" # Отправитель
#addr_from = sys.argv[1]
password = "jhPN<r2b22" # Пароль
password = "2lsHfFDHN" # Пароль
msg = MIMEMultipart() # Создаем сообщение
msg['From'] = addr_from # Адресат
@@ -37,7 +37,7 @@ def send_email(addr_to, msg_subj, msg_text, files):
process_attachement(msg, files)
#======== Этот блок настраивается для каждого почтового провайдера отдельно ===============================================
server = smtplib.SMTP_SSL('smtp.gmail.com',465) # Создаем объект SMTP
server = smtplib.SMTP_SSL('smtp.yandex.ru',465) # Создаем объект SMTP
server.ehlo()
#server.set_debuglevel(1)
#server.starttls() # Начинаем шифрованный обмен по TLS