Here is the work around how you can configure your seafile server installed in Microsoft Windows Operating System.
The configuration file in windows depends on where you installed your seafile program. I have installed seafile in Windows 10 in my C:\ drive. So my default location for seafile configration file seahub_settings.py is:
You can right click on the file and will see an option of “Edit with IDLE”. If you don’t see then open it with notepad.
Please add the following lines to seahub_settings.py to enable email sending.
SECRET_KEY = 'you will see some sort of code here. so leave it untouched' EMAIL_USE_TLS = True EMAIL_HOST = 'mail.yourdomain.com or whatever is the address of your smtp server' EMAIL_HOST_USER = 'email@example.com' EMAIL_HOST_PASSWORD = 'email password' EMAIL_PORT = 587 DEFAULT_FROM_EMAIL = 'firstname.lastname@example.org same email as above or you can use any other email here' SERVER_EMAIL = 'email@example.com same email from above two or you can use any other email here'
Restart your seafile server
Don’t forget to put apostrophe ‘ ‘ signs in start and end of line as mentioned in above configuration