fix(email): Added diskription message to email
This commit is contained in:
1 parent
d10a5666ba
commit
9c59674158
2 files changed
+7
-2
No files matched your search
+2
-1
@@ -5,7 +5,7 @@ from email.mime.text import MIMEText
|
||||
from email.mime.multipart import MIMEMultipart
|
||||
|
||||
|
||||
def send_lead_to_email(name, phone, email):
|
||||
def send_lead_to_email(name, phone, email, diskription):
|
||||
"""
|
||||
Отправляет информацию о заявке на фиксированный email rkplastic@mail.ru.
|
||||
|
||||
@@ -35,6 +35,7 @@ def send_lead_to_email(name, phone, email):
|
||||
Имя: {name}
|
||||
Телефон: {phone}
|
||||
Почта: {email}
|
||||
Содержание заявки: {diskription}
|
||||
"""
|
||||
|
||||
# Создаём сообщение
|
||||
|
||||
Reference in new issue
Block a user