BEXIS2 / Core

This is the public code repository of the BEXIS2 data management software. It contains only modules, components, and packages of the core system. Contributed modules and components will be available in separate repositories. For more information on BEXIS2, please visit our website.
https://bexis2.github.io/
17 stars 13 forks source link

Email notification broken: from address is hard coded (bexis2@uni-jena.de) #10

Closed jbiermann closed 6 years ago

jbiermann commented 6 years ago

My BEXIS system can't send emails because the email server refuses the mail because the sender address is not allowed. I have seen that the from address is hard coded: EmailService.cs var from = new MailAddress("bexis2@uni-jena.de");

This is very bad. Please use a setting like Email_Sender for this (which you can put into credentials config or web.cfg).

sventhiel-zz commented 6 years ago

There are no "hard coded" positions of that constructor inside the whole application anymore.

Now, the system email address is read from a config file.