Add smtp_ssl option to toolshed mailing capabilities, update .sample to include the smtp auth/ssl.

This commit is contained in:
Dannon Baker
2015-12-11 08:50:05 -05:00
parent 1aafc48935
commit c0b349306f
2 changed files with 11 additions and 0 deletions
+10
View File
@@ -138,6 +138,16 @@ require_login = False
#smtp_server = smtp.your_tool_shed_server
#email_from = your_tool_shed_email@server
# If your SMTP server requires a username and password, you can provide them
# here (password in cleartext here, but if your server supports STARTTLS it
# will be sent over the network encrypted).
#smtp_username = None
#smtp_password = None
# If your SMTP server requires SSL from the beginning of the connection
# smtp_ssl = False
# The URL linked by the "Support" link in the "Help" menu.
#support_url = https://wiki.galaxyproject.org/Support
+1
View File
@@ -107,6 +107,7 @@ class Configuration( object ):
self.smtp_server = kwargs.get( 'smtp_server', None )
self.smtp_username = kwargs.get( 'smtp_username', None )
self.smtp_password = kwargs.get( 'smtp_password', None )
self.smtp_ssl = kwargs.get( 'smtp_ssl', None )
self.start_job_runners = kwargs.get( 'start_job_runners', None )
self.email_from = kwargs.get( 'email_from', None )
self.nginx_upload_path = kwargs.get( 'nginx_upload_path', False )