La clase smtp que modifico Luis Krause, ya viene incluido la auntenticacion, sin embargo al hacer yo la autenticacion desde mi programa esto me arroja el server :
Code: Select all
27/09/2007 01:13:11: Connect Socket handle: 428 WSA Error: 0
27/09/2007 01:13:11: Write Socket handle: 428 WSA Error: 0
27/09/2007 01:13:11: Read Socket handle: 428 WSA Error: 0
27/09/2007 01:13:11: 220 win2003.server.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.3959 ready at Thu, 27 Sep 2007 01:13:59 -0600
27/09/2007 01:13:11: HELO smtp-client
27/09/2007 01:13:11: Read Socket handle: 428 WSA Error: 0
27/09/2007 01:13:11: 250 win2003.server.com Hello
27/09/2007 01:13:11: AUTH LOGIN
27/09/2007 01:13:11: Read Socket handle: 428 WSA Error: 0
27/09/2007 01:13:11: 503 5.5.2 Send hello first.
Pedi los comandos al server que tiene disponibles y este fue el resultado :
Code: Select all
27/09/2007 01:12:00: 214-This server supports the following commands:
214 HELO EHLO STARTTLS RCPT DATA RSET MAIL QUIT HELP AUTH TURN ETRN BDAT VRFY
Code: Select all
27/09/2007 01:28:44: EHLO NSF000000
27/09/2007 01:28:44: Read Socket handle: 428 WSA Error: 0
27/09/2007 01:28:44: 250-win2003.server.com Hello
250-TURN
250-SIZE
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250-X-EXPS GSSAPI NTLM LOGIN
250-X-EXPS=LOGIN
250-AUTH GSSAPI NTLM LOGIN
250-AUTH=LOGIN
250-X-LINK2STATE
250-XEXCH50
250 OK
Code: Select all
27/09/2007 01:30:21: AUTH=LOGIN
27/09/2007 01:30:21: Read Socket handle: 428 WSA Error: 0
27/09/2007 01:30:21: 500 5.3.3 Unrecognized command
Alguna sugerencia