diff --git a/request-management-api/request_api/services/email/senderservice.py b/request-management-api/request_api/services/email/senderservice.py index d15069ca7..8a0b62ba2 100644 --- a/request-management-api/request_api/services/email/senderservice.py +++ b/request-management-api/request_api/services/email/senderservice.py @@ -31,7 +31,7 @@ class senderservice: """ def send(self, servicekey, content, _messageattachmentlist, requestjson): - logging.debug("Begin: Send email for request = "+json.dumps(requestjson)) + #logging.debug("Begin: Send email for request = "+json.dumps(requestjson)) msg = MIMEMultipart() msg['From'] = MAIL_FROM_ADDRESS msg['To'] = requestjson["email"] @@ -56,7 +56,7 @@ def send(self, servicekey, content, _messageattachmentlist, requestjson): #smtpobj.login(MAIL_SRV_USERID, MAIL_SRV_PASSWORD) smtpobj.sendmail(msg['From'], msg['To'], msg.as_string()) smtpobj.quit() - logging.debug("End: Send email for request = "+json.dumps(requestjson)) + #logging.debug("End: Send email for request = "+json.dumps(requestjson)) return {"success" : True, "message": "Sent successfully"} except Exception as e: logging.exception(e)