smtp client need STARTTLS commnd.
I want to write a smtp client application. @Cgywin
When I connect to smtp.gmail.com and EHLO localhost, S:250-mx.gmail.com at ... S:250-SIZE S:250-8BITMIME S:250-STARTTLS S:250 ENHANCEDSTATUSCODES C:MAIT FROM: .... S:530 5.7.0 Must issue a STARTTLS command first ... I search "STARTTLS" and find RFC2487 ?? TLS negotiation ?? How can I get TLS negotiation command ?? :confused: |
As an example you can use openssl tool like this:
Code:
$ openssl s_client -starttls smtp -connect server:25 |
Moved: This thread is more suitable in Programming and has been moved accordingly to help your thread/question get the exposure it deserves.
|
Thank you ,r0b0
I also have found gnutls, Cygwin Packages. The TLS handshake seem complex !!! I take examples from opensslv3 and tlsv1. |
All times are GMT -5. The time now is 01:40 AM. |