You can translate the question and the replies:

Denodo Testing Tool - Email Configuration

Hello, My Test case is fine and I able to see the HTML Report, but I am facing an issue while sending an email from Denodo Testing Tool **Below is my configuration** reporter.html=com.denodo.connect.testing.reporter.HTMLTestReporter reporter.html.pathToOutputFile=C://Temp//HTMLReporter.html reporter.html.overwriteOutputFileIfExists=True reporter.email=com.denodo.connect.testing.reporter.EmailTestReporter reporter.email.username=test_user1@gmail.com reporter.email.password=ENC(HpVBwqKEPtfanjfUJ55tE5Zxf8Ngl77t) reporter.email.serverHost=smtp.gmail.com reporter.email.serverPort=587 reporter.email.serverProtocol=smtp reporter.email.smtpAuth=true reporter.email.smtpStarttlsEnable=true reporter.email.smtpQuitwait=false reporter.email.from=test_user1@gmail.com reporter.email.recipient=test_user1@gmail.com reporter.email.messageDetailLevel=full **Error Messge** 2023-10-17 05:49:46 ERROR EmailTestReporter:129 - Error sending the e-mail report: javax.mail.MessagingException: Could not convert socket to TLS at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:1907) ~[mail-1.4.7.jar:1.4.7] at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:666) ~[mail-1.4.7.jar:1.4.7] at javax.mail.Service.connect(Service.java:295) ~[mail-1.4.7.jar:1.4.7] at javax.mail.Service.connect(Service.java:176) ~[mail-1.4.7.jar:1.4.7] at com.denodo.connect.testing.reporter.EmailTestReporter.send(EmailTestReporter.java:168) ~[denodo-testing-tool-8.0-20230425.jar:?] at com.denodo.connect.testing.reporter.EmailTestReporter.engineEnd(EmailTestReporter.java:127) ~[denodo-testing-tool-8.0-20230425.jar:?] at com.denodo.connect.testing.reporter.MultipleTestReporter.engineEnd(MultipleTestReporter.java:28) ~[denodo-testing-tool-8.0-20230425.jar:?] at com.denodo.connect.testing.engine.TestExecutor.execute(TestExecutor.java:77) ~[denodo-testing-tool-8.0-20230425.jar:?] at com.denodo.connect.testing.TestRunner.run(TestRunner.java:158) ~[denodo-testing-tool-8.0-20230425.jar:?] at com.denodo.connect.testing.TestRunner.main(TestRunner.java:108) ~[denodo-testing-tool-8.0-20230425.jar:?] Caused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) at sun.security.ssl.HandshakeContext.<init>(HandshakeContext.java:172) ~[?:?] at sun.security.ssl.ClientHandshakeContext.<init>(ClientHandshakeContext.java:103) ~[?:?] at sun.security.ssl.TransportContext.kickstart(TransportContext.java:247) ~[?:?] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:448) ~[?:?] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426) ~[?:?] at com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:549) ~[mail-1.4.7.jar:1.4.7] at com.sun.mail.util.SocketFetcher.startTLS(SocketFetcher.java:486) ~[mail-1.4.7.jar:1.4.7] at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:1902) ~[mail-1.4.7.jar:1.4.7]

1 Answer

Hi, I could configure the [Testing tool](https://community.denodo.com/docs/html/document/denodoconnects/8.0/en/Denodo%20Testing%20Tool%20-%20User%20Manual) to send an email using a configuration similar to yours. However, the error you face may occur when the connection is configured to use SMTP server, and the connection is trying to connect to a non- SSL port or when the SSL certificate used by the SMTP server is not trusted. In this scenario, I would exclude this connection from firewall restriction to make the connection work. Additionally, if you are a valid customer, I suggest you raise a support case to provide help with your specification. Hope this helps!!
Denodo Team
17-10-2023 10:16:44 -0400
code
You must sign in to add an answer. If you do not have an account, you can register here