Example #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            SendEmail sendEmail = new SendEmail("*****@*****.**", "Fardid@Pass1234");

            string Subject = Request["Subject"];
            string Body    = Request["Body"];
            int    count   = 0;
            string s       = "";

            foreach (var item in sendEmail.AllMails())
            {
                sendEmail.Send_Email(Subject, Body, item);
            }

            Response.Write("finished");
        }