This bulk email app was sending emails at 225/minute and now its at about 80/minute. When it pauses, it pauses for about 6 seconds. If I break while running in debug mode, at the time of the pause, it's always stopped on the actual SMTP SEND command. My code is below...
'SEND THE EMAIL
Dim mail As New MailMessage()
mail.From = New MailAddress("email@example.com")
Dim smtp As New SmtpClient("webmail.dpscrm.com")
smtp.Port = 25
smtp.Credentials = New System.Net.NetworkCredential("UID", "PWD")
mail.Subject = "Reference your " & VarYear & " " & VarMake & " " & VarModel & "(" & VarName & ")"
mail.Body = txtModified.Text
mail.IsBodyHtml = True
LstError.Items.Add(VarRecNum & ": Could not send, " & VarCustEmailAddress)
VarNotSent = True
Any ideas on why it pauses periodically... how can I prevent it.