I am not sure is it safe and secure to store User information in class, and I came in idea to store some user information in .ini file and write what is inside there and execute. 
Basically, I have Console Application which is running in .NET Framework 4.7.2 and I made notification for store LOG.file and Sending mail whenever new user has been added to ActiveDirectory. 
SInce I need to configure SMTP for this kind of staff and store very private information such as  EmailID,Password etc I am not sure is it secure to put this visible. 
SmtpClient mySmtpClient = new SmtpClient("smtp.gmail.com");
            mySmtpClient.UseDefaultCredentials = false;
            System.Net.NetworkCredential basicAuthenticationInfo = new
            System.Net.NetworkCredential("email@gmail.com", "emailsender");
            mySmtpClient.Credentials = basicAuthenticationInfo;
            mySmtpClient.EnableSsl = true;
            mySmtpClient.Port = 587;
            MailAddress from = new MailAddress("sender@gmail.com", "IAMSender");
            MailAddress to = new MailAddress("reciver@gmail.com", "IAMReceiver");
            System.Net.Mail.MailMessage myMail = new System.Net.Mail.MailMessage(from, to);
            myMail.Subject = "ActiveDirectory";
            myMail.SubjectEncoding = System.Text.Encoding.UTF8;
            // set body-message and encoding
            myMail.Body = @"Ukupno novih korisnika:" + noviKorisnika + "<br>" +
                          @"Ukupno izmjenjenih korisnika: " + izmjenjenihKorisnika;
            myMail.BodyEncoding = System.Text.Encoding.UTF8;
            // text or html
            myMail.IsBodyHtml = true;
            mySmtpClient.Send(myMail); 
Any idea how to configure this kind of staff since I have not enought skill and knowledge about SMTP ?
