+ Reply to Thread
Results 1 to 3 of 3

Thread: send Bulk email

  1. #1
    Barn Enthusiast peebman2000 is on a distinguished road peebman2000's Avatar
    Join Date
    Mar 2008
    Posts
    215
    Rep Power
    4

    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.

  2. #2
    The Barnfather jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead's Avatar
    Join Date
    Mar 2008
    Location
    Reston, VA
    Posts
    4,547
    Blog Entries
    9
    Real Name
    Jason
    Rep Power
    22

    Yes, using the DataReader would be appropriate in this scenario.
    jmurrayhead
    If you agree, give me rep.
    If you like it here...throw us a few bones to help support us.


  3. #3
    Barn Enthusiast peebman2000 is on a distinguished road peebman2000's Avatar
    Join Date
    Mar 2008
    Posts
    215
    Rep Power
    4

    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 to Thread

Similar Threads

  1. windows service send emails every 10 days
    By peebman2000 in forum .NET Development
    Replies: 8
    Last Post: May 20th, 2008, 05:00 PM
  2. VBS Send Mail
    By keep_it_simple in forum Windows Scripting
    Replies: 0
    Last Post: March 22nd, 2008, 12:58 PM
  3. Sending Email using CDOSYS & Classic ASP
    By richyrich in forum ASP Code Samples
    Replies: 0
    Last Post: March 17th, 2008, 10:52 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

SEO by vBSEO