Removed mail debug
This commit is contained in:
parent
9935e30d83
commit
073400567b
@ -23,10 +23,6 @@ class MailService:
|
|||||||
def send(self, to: str, subject: str, body: str):
|
def send(self, to: str, subject: str, body: str):
|
||||||
logger.debug(f"Preparing to send email to: {to}, subject: {subject}")
|
logger.debug(f"Preparing to send email to: {to}, subject: {subject}")
|
||||||
|
|
||||||
logger.debug(
|
|
||||||
f"Server {self._server}, Port: {self._port}, User: {self._user}, pw {self._password}, From: {self._from}"
|
|
||||||
)
|
|
||||||
|
|
||||||
msg = MIMEMultipart()
|
msg = MIMEMultipart()
|
||||||
msg["From"] = self._from
|
msg["From"] = self._from
|
||||||
msg["To"] = to
|
msg["To"] = to
|
||||||
|
Loading…
Reference in New Issue
Block a user