You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 eventyay@fossasia.org 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
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
eventyay@fossasia.org
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:
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
open-event-server/app/settings/__init__.py
Line 8 in a556a23
Issue was brought up indirectly in 2018 #4910 (comment)
The text was updated successfully, but these errors were encountered: