E
Erick Daniel Tinajero
Hi all:
I am trying to do an automatic email sending process. I get some data from a
database to know which files to send, then I add them through a Do ... Loop
to my System.Web.MailMessage object using:
mail.Attachments.Add(New MailAttachment("File path goes here"))
When the loop finished, I do a send like this:
SmtpMail.SmtpServer = "smtpserver"
SmtpMail.Send (mail)
The whole process runs ok, but its incredibly slow. It usually takes 2
minutes or more, and I think its too slow for such a process. Have anyone
experienced this behavior too? If yes, could anyone help me? The code is
right, but the processing is just unacceptable. Thank you.
I am trying to do an automatic email sending process. I get some data from a
database to know which files to send, then I add them through a Do ... Loop
to my System.Web.MailMessage object using:
mail.Attachments.Add(New MailAttachment("File path goes here"))
When the loop finished, I do a send like this:
SmtpMail.SmtpServer = "smtpserver"
SmtpMail.Send (mail)
The whole process runs ok, but its incredibly slow. It usually takes 2
minutes or more, and I think its too slow for such a process. Have anyone
experienced this behavior too? If yes, could anyone help me? The code is
right, but the processing is just unacceptable. Thank you.