mjnaderi / Sharif-Judge

A free and open source online judge system for programming courses
https://github.com/mjnaderi/Sharif-Judge/tree/docs
GNU General Public License v3.0
385 stars 152 forks source link

Mailer #54

Open wojcik13 opened 7 years ago

wojcik13 commented 7 years ago

Hello, is there anyone who knows, how to switch on sending emails on register? Kindly regards

y0k4i-1337 commented 7 years ago

You can set your mailer configuration in application/models/User_model.php. Basically you have to create a variable $config with all the configuration you wish. You can see the options and the functions related to the mailer at system/libraries/Email.php.

Note that the user you are using to run your web server should be able to send mail, otherwise all these configuration are pointless.

Hope this helps.