UseDefaultCredentials = False what is the role of this line while sending email using c#

I am developing an ASP.NET MVC application in C# and writing code to send email using gmail smtp server. I just want to know what is the use of UseDefaultCredentials = False when to make it TRUE and when FALSE? What will be effect if we don’t use this line?

Sana Beginner Programmer Asked on December 8, 2015 in C#.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.