Description
Describe the bug
Currently in the test version, the server does not take From Email into part of the payload that is sent to sendgrid, resulting in 403 Forbidden as Sendgrid only allows authenticated domains to send from. Currently its hardcoded in the settings to [email protected]
as seen from the logs.
Current circumvent have added fossasia.org to Sendgrid to allow test server to be functioned
To Reproduce
Steps to reproduce the behavior:
- Go to 'Admin
- Go to 'Mail Settings'
- Send Test email
- 403 Error if not a eventyay or fossasia domain
Expected behavior
Should reference to user's domain
Stacktrace
Triggers send email function
open-event-server/app/api/helpers/mail.py
Line 45 in a556a23
Function check for ENV state, email from is taken off build config if in ENV = TEST
Issue was brought up indirectly in 2018 #4910 (comment)
Metadata
Metadata
Assignees
Type
Projects
Status