NetworkCredential.Domain Property -


  mailaddress sender = new mailaddress("someone@yahoo.com", "someone", encoding.utf8);    smtpclient client = new smtpclient("smtp.mail.yahoo.com",465); client.credentials = new  system.net.networkcredential(sender.address,"password",domain??? );   

just out of curiosity third overload of networkcredential
mean need pass argument domain property . searched on net but no 1 used it(domain property) .i tried "yahoo.com","@yahoo.com","yahoo" bot no every time same authentication error .it can done without domain property can use or can pass .

the domain property used ntlm authentication active directory domains.
not used normal login scenarios.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -