Note that there are some explanatory texts on larger screens.

plurals
  1. POSending emails via SMTP from GMail or Yahoo accounts
    text
    copied!<p>I'm trying to send emails from my AIR app using GMail and Yahoo's SMTP servers. (I have accounts on both of them), and <em>surprise surprise</em>, it just isn't happening.</p> <p><strong>Warning: This might have been rendered obsolete by new developments specified in teh EDIT1 section</strong></p> <p>Here's the log of my communication with the servers:<br> Gmail:</p> <pre><code>220 mx.google.com ESMTP ms9sm13686367pbb.43 EHLO mx.google.com 250-mx.google.com at your service, [59.182.158.33] 250-SIZE 35882577 250-8BITMIME 250-STARTTLS 250 ENHANCEDSTATUSCODES AUTH LOGIN 530 5.7.0 Must issue a STARTTLS command first. ms9sm13686367pbb.43 STARTTLS 220 2.0.0 Ready to start TLS AUTH LOGIN Connection to host lost. </code></pre> <p>Yahoo:</p> <pre><code>220 smtp209.mail.sg3.yahoo.com ESMTP EHLO smtp.yahoo.com 250-smtp209.mail.sg3.yahoo.com 250-AUTH LOGIN PLAIN XYMCOOKIE 250-PIPELINING 250-SIZE 41697280 250 8BITMIME AUTH LOGIN 334 VXNlcm5hbWU6 &lt;base64encoded username&gt; 334 UGFzc3dvcmQ6 &lt;base64encoded password&gt; 530 Access denied Connection to host lost. </code></pre> <p>On the other hand, my GMX mail account works perfectly without TLS. With TLS, the connection drops for all 3.</p> <p>What is wrong and how can I fix it?</p> <p><strong>P.S.:</strong> I tried this communication with the servers using Windows' inbuilt telnet executable </p> <blockquote> <p>telnet {host} {port}</p> </blockquote> <p><strong>P.P.S:</strong> It doesn't work using sockets in AIR either.</p> <p><strong>EDIT1</strong> Downloaded and installed OpenSSL and Gmail works. Now the question is how do I reproduce this in AIR?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload