Reading the docs:
https://commons.apache.org/proper/commons-email/apidocs/org/apache/commons/m...
`ssl` sets usage of TLS as wrapper, usually on port 465, which is deprecated for SMTP. Better use `tls` which uses the `STARTTLS` SMTP command.
Anyway, the mail module seems to use deprecated methods in the underlying Java module.
Am 13.07.2016 um 10:00 schrieb Christian Grün:
By the way: Do you have an email option for tls/starttls?
I think there are the two boolean options 'tls' and 'ssl'. But I must confess I didn’t run the code for quite some time now. I’m attaching the two relevant source files. If by chance you decide to update them, you are invited to send them back to us ;)
-----Ursprüngliche Nachricht----- Von: Christian Grün [mailto:christian.gruen@gmail.com] Gesendet: Mittwoch, 13. Juli 2016 09:42 An: Ulrike Schaper U.Schaper@sidestep-solutions.de Cc: basex-talk@mailman.uni-konstanz.de Betreff: Re: [basex-talk] BaseX EMail-Module
Hi Ulrike,
I know this issue has been discussed already, but I still have problems concerning BaseX and sending E-Mails: I downloaded Email.jar which has been described in earlier posts, and put it into the basex/lib folder.
I have aligned the module with the latest version of BaseX. Could you please give it another try? The URL is the same as before [1].
Hope this helps, Christian
[1] http://files.basex.org/modules/org/basex/modules/email/EMail.jar
I found examples in the jars xquery subdirectory and tried to execute them. I get the following error:
EMail:send(element()): org.basex.query.func.FuncOptions.parse(Lorg/basex/query/value/item/Item;Lorg/basex/util/options/Options;)Lorg/basex/util/options/Options;.
Can you help?
Best regards,
Ulrike.