Technology Blogs

2 minutes reading time (365 words)

SeaFile Email configurations for Windows Server

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:

C:\seafile-server\conf\seahub_settings

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 = This email address is being protected from spambots. You need JavaScript enabled to view it.
	'
EMAIL_HOST_PASSWORD = 'email password'
EMAIL_PORT = 587
DEFAULT_FROM_EMAIL = This email address is being protected from spambots. You need JavaScript enabled to view it. same email as above or you can use any other email here'
SERVER_EMAIL = This email address is being protected from spambots. You need JavaScript enabled to view it. 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

ZkTeco Device Date and Time Reset Problem
How to connect and configure HPE MSA 1040 NAS SAN
 

Comments

No comments made yet. Be the first to submit a comment
Guest
Monday, 19 November 2018

Captcha Image

Have some questions before website development?

Search