Go Back   DeveloperBarn Forums > Programming & Scripting > .Net Development

Sponsored Links

Discuss "send Bulk email" in the .Net Development forum.

.Net Development - Learn about the Microsoft.Net framework and how to create powerful web-based (ASP.net) and client-based (Windows Forms) applications utilizing various languages such as C#, VB.Net, J# and others.


Reply « Previous Thread | Next Thread »  
 
LinkBack Thread Tools Display Modes
  #1  
Old June 20th, 2008, 08:43 AM
Barn Frequenter

 
Join Date: Mar 2008
Posts: 174
Thanks: 14
Thanked 0 Times in 0 Posts
Rep Power: 1
peebman2000 is an unknown quantity at this point
Exclamation send Bulk email

Hey everyone it's peeb, haven't posted anything in a while; it's been busy. Well from beside working on one .net app, I just get another project assigned to me that needs to be done by the end of this day.

A client wants a bulk emailer of 350 emails of usernames and passwords sent out at once, so my boss tells them I can do it. (Pressure cooker)

Anyway, I have an idea of how to code it, just loop through each record retreive the email address and password, and while in that loop send the password to the retreived email address.

Now logically and pseudocoding is no problem, but Vb.netting it for me is a different story. Loop aren't one of my strong suits.

Well my question is, couldn't I just use the mydatareader to loop through the SQL database and send the emails, or should I use a for loop.

Any suggestions or ideas would help, thanks so much.
Reply With Quote
Sponsored Links
  #2  
Old June 20th, 2008, 08:59 AM
jmurrayhead's Avatar
The Barnfather

 
Join Date: Mar 2008
Location: Reston, VA, USA
Posts: 820
Thanks: 20
Thanked 74 Times in 71 Posts
Blog Entries: 5
Rep Power: 3
jmurrayhead has a spectacular aura aboutjmurrayhead has a spectacular aura aboutjmurrayhead has a spectacular aura about

Awards Showcase
Microsoft .Net Microsoft SQL Server Microsoft Windows Classic ASP 
Total Awards: 4

Default

Yes, using the DataReader would be appropriate in this scenario.
__________________
jmurrayhead
If you agree with me... click the icon!
If my post solved your problem, click the button in the lower right-hand corner of the post.

Join our Folding team: DeveloperBarn Folding
Reply With Quote
The Following User Says Thank You to jmurrayhead For This Useful Post:
peebman2000 (June 20th, 2008)
  #3  
Old June 20th, 2008, 10:06 AM
Barn Frequenter

 
Join Date: Mar 2008
Posts: 174
Thanks: 14
Thanked 0 Times in 0 Posts
Rep Power: 1
peebman2000 is an unknown quantity at this point
Thumbs up reply

Thanks Jmurrayhead, the datareader worked just fine. I appreciate the help again.

Quote:
Originally Posted by jmurrayhead View Post
Yes, using the DataReader would be appropriate in this scenario.
Reply With Quote
Reply

  DeveloperBarn Forums > Programming & Scripting > .Net Development

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
windows service send emails every 10 days peebman2000 .Net Development 8 May 20th, 2008 04:00 PM
[VBScript] VBS Send Mail keep_it_simple Windows Scripting 0 March 22nd, 2008 11:58 AM
[ASP/VBScript] Sending Email using CDOSYS & Classic ASP richyrich Code Samples 0 March 17th, 2008 09:52 AM


All times are GMT -4. The time now is 08:28 PM.



Content Relevant URLs by vBSEO 3.2.0