Update modules/email/email.py
Browse files- modules/email/email.py +2 -2
modules/email/email.py
CHANGED
|
@@ -42,7 +42,7 @@ def send_email_notification(name, email, institution, role, reason):
|
|
| 42 |
message.attach(part2)
|
| 43 |
|
| 44 |
try:
|
| 45 |
-
with smtplib.SMTP_SSL("smtp.
|
| 46 |
server.login(sender_email, password)
|
| 47 |
server.sendmail(sender_email, receiver_email, message.as_string())
|
| 48 |
logger.info(f"Email notification sent for application request: {email}")
|
|
@@ -76,7 +76,7 @@ def send_user_feedback_notification(name, email, feedback):
|
|
| 76 |
message.attach(part)
|
| 77 |
|
| 78 |
try:
|
| 79 |
-
with smtplib.SMTP_SSL("smtp.
|
| 80 |
server.login(sender_email, password)
|
| 81 |
server.sendmail(sender_email, receiver_email, message.as_string())
|
| 82 |
logger.info(f"Email notification sent for user feedback from: {email}")
|
|
|
|
| 42 |
message.attach(part2)
|
| 43 |
|
| 44 |
try:
|
| 45 |
+
with smtplib.SMTP_SSL("smtp.titan.email", 465) as server:
|
| 46 |
server.login(sender_email, password)
|
| 47 |
server.sendmail(sender_email, receiver_email, message.as_string())
|
| 48 |
logger.info(f"Email notification sent for application request: {email}")
|
|
|
|
| 76 |
message.attach(part)
|
| 77 |
|
| 78 |
try:
|
| 79 |
+
with smtplib.SMTP_SSL("smtp.titan.email", 465) as server:
|
| 80 |
server.login(sender_email, password)
|
| 81 |
server.sendmail(sender_email, receiver_email, message.as_string())
|
| 82 |
logger.info(f"Email notification sent for user feedback from: {email}")
|