<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[javax.mail.MessagingException: Could not convert socket to TLS]]></title><description><![CDATA[<p dir="auto">Using mango 3.7.7, cannot send emails via our gmail account.<br />
I've configured an application password and yet I receive this error:</p>
<pre><code>{"cause":"MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not convert socket to TLS;\n  nested exception is:\n\tjavax.net.ssl.SSLHandshakeException: Invalid CertificateVerify signature. Failed messages: javax.mail.MessagingException: Could not convert socket to TLS;\n  nested exception is:\n\tjavax.net.ssl.SSLHandshakeException: Invalid CertificateVerify signature","smtpSessionLog":"DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]\nDEBUG SMTP: useEhlo true, useAuth true\nDEBUG SMTP: trying to connect to host \"smtp.gmail.com\", port 587, isSSL false\n220 smtp.gmail.com ESMTP x10sm15856991pff.214 - gsmtp\nDEBUG SMTP: connected to host \"smtp.gmail.com\", port: 587\nEHLO mangoGT5191\n250-smtp.gmail.com at your service, [122.56.205.5]\n250-SIZE 35882577\n250-8BITMIME\n250-STARTTLS\n250-ENHANCEDSTATUSCODES\n250-PIPELINING\n250-CHUNKING\n250 SMTPUTF8\nDEBUG SMTP: Found extension \"SIZE\", arg \"35882577\"\nDEBUG SMTP: Found extension \"8BITMIME\", arg \"\"\nDEBUG SMTP: Found extension \"STARTTLS\", arg \"\"\nDEBUG SMTP: Found extension \"ENHANCEDSTATUSCODES\", arg \"\"\nDEBUG SMTP: Found extension \"PIPELINING\", arg \"\"\nDEBUG SMTP: Found extension \"CHUNKING\", arg \"\"\nDEBUG SMTP: Found extension \"SMTPUTF8\", arg \"\"\nSTARTTLS\n220 2.0.0 Ready to start TLS\n","mangoStatusCode":5000,"mangoStatusName":"GENERIC_500","localizedMessage":"Email send failure"}
</code></pre>
<p dir="auto">Any ideas on what to do to fix this?</p>
<p dir="auto">Fox</p>
]]></description><link>https://forum.mango-os.com/topic/5050/javax-mail-messagingexception-could-not-convert-socket-to-tls</link><generator>RSS for Node</generator><lastBuildDate>Sat, 06 Jun 2026 19:16:56 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/5050.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 10 Jan 2021 22:12:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to javax.mail.MessagingException: Could not convert socket to TLS on Mon, 11 Jan 2021 02:30:40 GMT]]></title><description><![CDATA[<p dir="auto">Ah good idea man,</p>
<p dir="auto">mondays...</p>
<p dir="auto">EDIT:</p>
<pre><code>220 smtp.gmail.com ESMTP x15sm16801291pfa.80 - gsmtp
</code></pre>
<p dir="auto">I get the feeling this is JDK related...</p>
]]></description><link>https://forum.mango-os.com/post/26162</link><guid isPermaLink="true">https://forum.mango-os.com/post/26162</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Mon, 11 Jan 2021 02:30:40 GMT</pubDate></item><item><title><![CDATA[Reply to javax.mail.MessagingException: Could not convert socket to TLS on Mon, 11 Jan 2021 02:26:21 GMT]]></title><description><![CDATA[<p dir="auto">Hey mate, can the underlying host machine connect to the mail server on that port?</p>
<p dir="auto">Even try just...</p>
<pre><code>telnet smtp.gmail.com 587
</code></pre>
<p dir="auto">See if you get an answer similar to...</p>
<pre><code>220 smtp.gmail.com ESMTP p9sm17466733pfq.136 - gsmtp  
</code></pre>
<p dir="auto">Although it does mention TLS so 587 should be correct? Certificate error is weird.</p>
]]></description><link>https://forum.mango-os.com/post/26161</link><guid isPermaLink="true">https://forum.mango-os.com/post/26161</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Mon, 11 Jan 2021 02:26:21 GMT</pubDate></item></channel></rss>