I am trying to create a mail sending application in C# using SMTP
. I don't understand what parameters I should introduce in this declaration instead of username
and password
:
SmtpServer.Credentials = new System.Net.NetworkCredential("username", "password");
Is it the email, computer or literally the internet connection credentials?