Hi Everyone, <BR><BR>Im currently migrating from ASP3 to .Net And i have a question i presume someone here can help me with.<BR><BR>Does anyone have any suggestions as to the fastest and most economical way of emailing about 20000 users in one go. The method i have gone for (but im not sure if its the right one) is as follows.<BR><BR>Press Send Triggers a function, getsubscribers()<BR>that triggers a stored procedure that returns an SQLdatareader.<BR><BR>The SQLdatareader along with the subject and message body, is then passed to a function called SendToDataReader.<BR><BR>This then creates a message object and loops through the datareader as follows<BR><BR>Do While dr.Read()<BR>oMsg.To = dr("Email").Trim<BR>SmtpMail.Send(oMsg)<BR>Loop<BR><BR>Does the above sound about right or am i missing something? Will passing a data reader with 20000 email address be OK?<BR>Is there a way im supposed to be able to do it and ive just missed the tutorials?<BR><BR>Thanks for your input.<BR><BR>KristianYou shouldnt do mass emailing with an asp script. I would look into maybe a 3rd party emailing tool an import the emails into there... Or maybe a .vbs file that schedules to run every 10 minutes and sends 50 at a time. But... if you do decide to use your aspx page.. I would say that the way you have described is the most efficient way. Maybe find a way to sleep 100 milliseconds or so between each email. So its not hammering the processor on the server. Server side scripts generally shouldnt loop more then 100 times. 20,000 loops is alot... but asp.net is better at looping then classic asp. So I would say try to get a sleep in there.. between each one if you decide to do it.Thanks for the response.<BR>In my current ASP app im using the registered version of ASPEmail, That allows for rapid email dispatching by sending the message to a queue and returning an immediate response. Using this i can do 20k in about 2 mins. Trouble is ASPemail isnt designed for .net, And i dont even know if they will bother because a lot of the componenets functionality has been included in .net (Except the send to queue feature)<BR><BR>Does anyone know of any .net ASP componenets that sound like they do the above.I found this site http://www.quiksoftcorp.com<BR>which has some mail objects that it really rates. Ill keep looking though. Except for the combination of apps i would need is gonna set me back $1500!! just to send email. I think id rather write a letter.<BR><BR>It seems so far to me that a typical ASP componenet is about $50 and a typical .net componenet is more like a few hundred?<BR><BR>KristianYou're looking at that only costs $50. Many of the better ASP components are several hundered dollars.http://aspnetemail.com/<BR><BR>The author of this component has created a "Mass Mailer" application (for free) that works with his component. You can download it at:<BR>http://aspnetemail.com/rapidmailer/<BR><BR>The catch is you have to use his email component, which is not free.<BR>http://aspnetemail.com/purchase.aspx<BR><BR>Ranges from $99-$549. I've not used either product, but the mass mailer looks pretty cool and user friendly.http://www.dimac.net/. (yes the people that make the famed JMail4
).<BR><BR>They have an app that is a standalone mail server for less than $400. It's stripped down, but it can do mailing list and a mail queue. This way you have a script that you send one message to and it will send the mail out in a queued state.<BR><BR>You can drop your email into the spool folder as a text file and the server does the rest.<BR><BR>We are using it (The demo currently, buying it this week) and it has worked nicely so far. But, we only use it for sending and recieving messeges, not for massmailing. I just read about those other features.<BR><BR>hth.I wrote an opensource email .net component in c# to fill some of the gaps in the System.web.mail class (mainly the dependency on IIS SMTP)<BR><BR>http://sourceforge.net/projects/opensmtp-net/<BR><BR><BR>I tested it on a pII600 with 374mb ram and got decent results.<BR>(30k messages/hour). It has been around for more than a year and I've had 3000+ downloads of it. I would be glad to help you if you use it and need help. I'm planning on releasing a commercial version in July and I am looking for all the feedback I can get.<BR><BR><BR>- Ian Stallings<BR>[email protected] nice thing about ASPNETEmail is that it can be used as a component very easily through an ASP.NET Web page. The original poster mentioned that they were moving from ASP3 to ASP.NET, so this component might benefit them more than the JMail standalone mail server...
