Exemplo 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!");
        }
Exemplo n.º 2
0
 private void button5_Click_1(object sender, EventArgs e)
 {
     SendToMultipleUsers.SendEmail();
 }