deepthisanand2024 / hw10_event_manager

MIT License
0 stars 0 forks source link

Missing smtp server configurations #1

Closed deepthisanand2024 closed 1 month ago

deepthisanand2024 commented 1 month ago

Sign up for Mailtrap and configure the smtp server details in .env file to fix the error tied to SMTPServer connection unexpectedly closing while running the pytest on test_user_service.py

deepthisanand2024 commented 1 month ago

Issue: The pytest for test_user_services was failing due to the SMTPServerDisconnected error. Resolution: Signed up for MailTrap and the smtp_username and smtp_password had to be configured in the .env file.

.env file smtp_username=3dcab378ca1021 smtp_password=510b73247093c3