Send mail using SSL from GoDaddy account using command-line program, Python, or Java
===

Summary:
I'm trying to send email from a Django server on Windows. GoDaddy email does not support STARTTLS. Sending email from Thunderbird via port 465 (SSL) through GoDaddy account works. I've tried using these Blat settings:

   blat -SaveSettings -f handle@myawesomedomain.com -server smtpout.secureserver.net -port 465 -u handle@myawesomedomain.com -pw "mytotallyawesomepassword"

but I get:

    C:\Users\b\Downloads\blat306_32.full\blat306\full>blat testemail.txt -to recipient@example.com
    argv[ 1] = 'testemail.txt'
    argv[ 2] = '-to'
    argv[ 3] = 'recipient@example.com'
    Blat v3.0.6 (build : Jun 21 2012 23:52:52)
    32-bit Windows, Full, Unicode
    
    Error: Wait a bit (possible timeout).
    *** Error ***  SMTP server error
    Error: Not a socket.
    Error: Not a socket.

Trying Python's SMTP_SSL class results in this error:

ssl.SSLError: [Errno 1] _ssl.c:499: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol 

which may be addressed by this patch: http://bugs.python.org/issue4470

I'd rather not pay for a program that does this or use a programming language other than Java or Python. A standalone executable such as Blat would be best.

Here's a reference to a .NET solution: http://stackoverflow.com/questions/1317809/sending-email-using-a-godaddy-account.

Thanks!