Esempio n. 1
0
        private void SendEmailAllGroup()
        {
            string emailList = "";

            foreach (string email in EmailListBox.Items)
            {
                emailList += $"{email.ToString()} ";
            }


            SendToMultipleUsers.SendEmail(emailList, txtsubject.Text, txtbody.Text);
            MessageBox.Show("Successfully sended!");
        }
Esempio n. 2
0
 private void button5_Click_1(object sender, EventArgs e)
 {
     SendToMultipleUsers.SendEmail();
 }