hackerspace-ntnu / website

Website @ hackerspace-ntnu.no
https://www.hackerspace-ntnu.no
MIT License
22 stars 7 forks source link

Sending mails to @ntnu does not work because outside domain #783

Closed CJGutz closed 8 months ago

CJGutz commented 9 months ago

What is happening? A clear and concise description of what the bug is. All mails that are sent to @ntnu mails do not work. Feide sends the websites emails as @ntnu instead of @stud.ntnu. Sending mails to @ntnu addresses fails because it is not from a ntnu domain.

How did it happen Explain what you did to make this happen We get emails to send by retrieving the @ntnu emails. This needs to be changed to @stud.ntnu. Some users get a new mail by being employed by NTNU, their stud mails will redirect to the new one. There might be someone without any stud.ntnu mail, but this is not the majority of cases so we have to make this easier for majority.

Add a converter in authentication app to convert @ntnu mails to @stud.ntnu mails

Screenshots If applicable, add screenshots to help explain your problem.