c# - Hotmail SMTP Commands to Authenticate -


i using c#.net , programmatically attempting authenticate against hotmail can send emails using:

  • server: smtp.live.com
  • ssl: yes
  • port: 587 (tried 25 too)

i manage connect , response:

250-blu0-smtp395.phx.gbl hello [xxx.xxx.xxx.xx] 250-turn 250-size 41943040 250-etrn 250-pipelining 250-dsn 250-enhancedstatuscodes 250-8bitmime 250-binarymime 250-chunking 250-vrfy 250-tls 250-starttls 250 ok 

i issue command:

starttls 

and server ready response.

the problem authenticating. don't see 250-auth capability, naturally when issue auth login command, doesn't work.

what missing here? appreciated.

the remote server advertises support auth (login , plain) in response second ehlo issued after starttls.

plain text authentication (login , plain) on unencrypted connection not secure.


Comments