johnamdickson / portfolio-project-5

1 stars 1 forks source link

BUG: Email sending bug #75

Closed johnamdickson closed 7 months ago

johnamdickson commented 7 months ago

Epic:

Deploy project to production environment #47 **Bug Description:** Received 500 server error when trying to sign up and test the email verification. Set debug to true which revealed the error as: *[SMTP.starttls() got an unexpected keyword argument 'keyfile'](https://stackoverflow.com/questions/77482831/smtp-starttls-got-an-unexpected-keyword-argument-keyfile)* **Actions to Resolve:** Tried searching for a straight forward solution that would enable the verification email to send error free however all guidance online pointed towards a requirement to upgrade Django to version 4.2.7, as explicitly mentioned in this [Stack Overflow post](https://stackoverflow.com/questions/77482831/smtp-starttls-got-an-unexpected-keyword-argument-keyfile). Decided to proceed with upgrade which resolved the issue.