Detected 1 occurrence(s) of ‘default\s*credentials': _objModelMail.name; mail.Body = Body; mail.IsBodyHtml = true; SmtpClient smtp = new SmtpClient(); smtp.Host = "smtp.gmail.com"; smtp.Port = 587; smtp.UseDefaultCredentials = false; smtp.Credentials = new System.Net.NetworkCredential ("zerina.salitrezic@gmail.com", "kinka92etfos");// Enter seders User name and password smtp.EnableSsl = true; smtp.Send(mail); Source: http://pastebin.com/raw.php?i=MKXU2Mgk
↧