akram_delphi wrote:
> I am trying to connect to smtp.gmail.com from my application
> it asks me for STARTTLS ?!!!
> What is this and how to send email from my application using 
> smtp.gmail.com ??????
> 
> Code will be appreciated
> 
> Many thanks

GMail access across SMTP requires a SSL-enabled client.  You can write 
an appropriate interface with OpenSSL, but you'll have to write a 
wrapper DLL in C or C++ before you can make calls to OpenSSL from Delphi 
(some things in OpenSSL can only be done from C/C++).  Here's how it 
looks in a pretty ASCII picture:

Delphi code -> C++ DLL -> OpenSSL DLL/static library.

TLS 1.0 is the successor to SSL v3.  (And SSL v3 is the successor to SSL 
v2, which almost no one uses anymore).

--
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

Safe C++ Design Principles (First Edition)
Learn how to write memory leak-free, secure,
stable, portable, and user-friendly software.

Learn more and view a sample chapter:
http://www.CubicleSoft.com/SafeCPPDesign/



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to