private async void T_Elapsed(object sender, ElapsedEventArgs e) { (sender as Timer).Stop(); var value = await bll.Action().ListAsync(); Console.WriteLine(String.Format("{0} Adet Mail Gönderilecek!", value.Count)); foreach (var item in value) { smtp.AddMail("HRP_ARBIS-2019", item.Message); var result = await smtp.SendAsync(item.email); } (sender as Timer).Start(); }