исправлена почта, доработаны кп, добавление менеджеров, особенности хат
This commit is contained in:
@@ -76,6 +76,7 @@ r.Shadow.UnbuiltPreviewInGame=False
|
||||
r.RayTracing.UseTextureLod=True
|
||||
r.SupportStationarySkylight=False
|
||||
r.SupportLowQualityLightmaps=False
|
||||
r.DefaultFeature.AntiAliasing=1
|
||||
|
||||
[/Script/Engine.CollisionProfile]
|
||||
-Profiles=(Name="NoCollision",CollisionEnabled=NoCollision,ObjectTypeName="WorldStatic",CustomResponses=((Channel="Visibility",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore)),HelpMessage="No collision",bCanModify=False)
|
||||
|
||||
@@ -7,7 +7,7 @@ ProjectID=F58CF58249FB6CF654B46CA3DB0FE64D
|
||||
Build=IfProjectHasCode
|
||||
BuildConfiguration=PPBC_Development
|
||||
BuildTarget=
|
||||
StagingDirectory=(Path="D:/shared/Builds/fortis_unstable_67")
|
||||
StagingDirectory=(Path="E:/tempBuilds/fortis")
|
||||
FullRebuild=False
|
||||
ForDistribution=False
|
||||
IncludeDebugFiles=False
|
||||
@@ -74,4 +74,5 @@ bSkipMovies=False
|
||||
+IniKeyBlacklist=IniSectionBlacklist
|
||||
+DirectoriesToAlwaysStageAsUFS=(Path="Script")
|
||||
+DirectoriesToAlwaysStageAsNonUFS=(Path="Script")
|
||||
+DirectoriesToAlwaysStageAsNonUFS=(Path="Txt")
|
||||
|
||||
|
||||
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.
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.
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.
@@ -10,37 +10,36 @@ from email.mime.image import MIMEImage # Изображен
|
||||
from email.mime.audio import MIMEAudio # Аудио
|
||||
from email.mime.multipart import MIMEMultipart # Многокомпонентный объект
|
||||
import sys # для чтения аргументов
|
||||
|
||||
ArgvAmount = 9
|
||||
#импорт аргументов
|
||||
if len(sys.argv) == ArgvAmount:
|
||||
if len(sys.argv)==5:
|
||||
addr_to = sys.argv[1]
|
||||
filefold = sys.argv[2]
|
||||
addr_from = sys.argv[3]
|
||||
password = sys.argv[4]
|
||||
smtp_address = sys.argv[5]
|
||||
smtp_port = int(sys.argv[6])
|
||||
message_header = sys.argv[7]
|
||||
message_description = sys.argv[8]
|
||||
|
||||
msgText = sys.argv[3]
|
||||
msgTheme = sys.argv[4]
|
||||
print(addr_to)
|
||||
print(filefold)
|
||||
else:
|
||||
sys.exit()
|
||||
|
||||
def send_email(addr_to, msg_subj, msg_text, files): # Пароль / now from argv
|
||||
def send_email(addr_to, msg_subj, msg_text, files):
|
||||
addr_from = "reception@fortisgroup.ru" # Отправитель
|
||||
#addr_from = sys.argv[1]
|
||||
password = "123432Reception" # Пароль
|
||||
|
||||
msg = MIMEMultipart() # Создаем сообщение
|
||||
msg['From'] = addr_from # Адресат
|
||||
msg['To'] = addr_to # Получатель
|
||||
msg['Subject'] = msg_subj # Тема сообщения
|
||||
|
||||
body = msg_text # Текст сообщения
|
||||
msg.attach(MIMEText(body, 'plain')) # Добавляем в сообщение текст
|
||||
msg.attach(MIMEText(body, 'html')) # Добавляем в сообщение текст
|
||||
|
||||
process_attachement(msg, files)
|
||||
|
||||
#======== Этот блок настраивается для каждого почтового провайдера отдельно ===============================================
|
||||
server = smtplib.SMTP_SSL(smtp_address, smtp_port)
|
||||
#server.ehlo(addr_from)
|
||||
server.set_debuglevel(1)
|
||||
server = smtplib.SMTP_SSL('Mail.nic.ru',465) # Создаем объект SMTP
|
||||
server.ehlo()
|
||||
#server.set_debuglevel(1)
|
||||
#server.starttls() # Начинаем шифрованный обмен по TLS
|
||||
|
||||
server.login(addr_from, password) # Получаем доступ
|
||||
@@ -89,11 +88,10 @@ def attach_file(msg, filepath): # Функция п
|
||||
|
||||
|
||||
|
||||
# Использование функции send_email()
|
||||
#addr_to = "andronchik92@gmail.com" # Получатель
|
||||
# Использование функции send_email # Получатель
|
||||
|
||||
files = []
|
||||
files = [filefold] # Список файлов, если вложений нет, то files=[]
|
||||
# Если нужно отправить все файлы из заданной папки, нужно указать её
|
||||
print("here i send mail")
|
||||
send_email(addr_to, message_header, message_description, files)
|
||||
send_email(addr_to, msgTheme, msgText, files)
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,6 @@
|
||||
Кагарманова Анна - kagarmanova.av@fortisgroup.ru
|
||||
Ленская Елена - lenskaya.es@fortisgroup.ru
|
||||
Шахоткин Владимир - shahotkin.vu@fortisgroup.ru
|
||||
Кулешова Марина - Kuleshova.mv@fortisgroup.ru
|
||||
Тумашов Илья Викторович - tumashov.iv@fortisgroup.ru
|
||||
Test user - andronchik92@gmail.com
|
||||
Binary file not shown.
Reference in New Issue
Block a user