forked from amazingfate/loongoffice
Thanks to Jurassic Pork and prrychr (tdf#99363) for the 2016 patch. I used smtp.gmail.com as my testing server. Port 587 is the "official" port to use for encrypted email. I confirmed that 587 CANNOT use SMTP_SSL [SSL: UNKNOWN_PROTOCOL], so I limited SMTP_SSL use to common TLS port 465 only. Port 465 was temporarily recommended, but OFFICIALLY has long since been abandoned. However, LOTS of documentation and ISPs still recommend it as the port to use. I confirmed that 465 DOES NOT support STARTTLS, so it is specifically excluded. So, technically the button should say use STARTTLS instead of SSL, but only for SMTP. IMAP/POP do use SSL, so terminology gets rather confusing. This patch forces SSL without STARTTLS for port 465 regardless of the "use SSL" setting due to all the confusion. Currently we don't support ANY SSL/TLS connections. With this patch we now at least support the extremely common use case of port 465. Change-Id: I210cc307491157c1121cfffd70cbb94347ee2856 Reviewed-on: https://gerrit.libreoffice.org/48210 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org>
This module provides the source code for the Scripting Framework. For more information on the Scripting Framework, see the project web page: [http://framework.openoffice.org/scripting/] This module uses astyle to keep consistent java coding style. Please run ./Format_java_code.sh before committing. == Source Code Structure == The following directories contain the source code currently used by the Scripting Framework: - source/provider C++ source for the implementations of the com.sun.star.script.provider.* and com.sun.star.script.browse.* UNO types. These types are used for browsing and executing scripts. - source/protocolhandler C++ for a ProtocolHandler implementation that handles vnd.sun.star.script URIs and dispatches them for execution to the Scripting Framework. - source/basprov C++ implementation of the LanguageScriptProvider UNO service for Basic - source/dlgprov C++ implementation of the DialogProvider UNO service used for loading UNO dialogs from various languages - java/com/sun/star/script/framework/provider Implementation of an abstract base class ScriptProvider which provides core methods for implementing Java based LanguageScriptProvider implementations - java/com/sun/star/script/framework/provider/* BeanShell, JavaScript and Java LanguageScriptProvider implementations - java/com/sun/star/script/framework/browse/* BrowseNode implementations for the Java based LanguageScriptProviders - java/com/sun/star/script/framework/io - java/com/sun/star/script/framework/container Classes for performing script IO - examples Example scripts in BeanShell, JavaScript, Java and Python == Deprecated Code == - java/org/openoffice/* Support for developing scripts in IDEs such as NetBeans. - source/pyprov LanguageScriptProvider for Python