Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. help me with newsletter

help me with newsletter

Scheduled Pinned Locked Moved ASP.NET
helpdatabasetutorial
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sanaziuse
    wrote on last edited by
    #1

    hi. I am tring to make a newsletter, which people can join and subscribe by email and then, email will be sent to them to notify the updated new ... I have created textbox and ... So I can collect emails into my database. but I dont know how to send them email... I know alittle about sending email but my problem is that I want to send one email to 50 people or more ...So I need a loop but I dont know the code. please tell me.thanks

    N 1 Reply Last reply
    0
    • S sanaziuse

      hi. I am tring to make a newsletter, which people can join and subscribe by email and then, email will be sent to them to notify the updated new ... I have created textbox and ... So I can collect emails into my database. but I dont know how to send them email... I know alittle about sending email but my problem is that I want to send one email to 50 people or more ...So I need a loop but I dont know the code. please tell me.thanks

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      foreach(User user in User.Collection) { Message.To += user; }


      only two letters away from being an asset

      S 1 Reply Last reply
      0
      • N Not Active

        foreach(User user in User.Collection) { Message.To += user; }


        only two letters away from being an asset

        S Offline
        S Offline
        sanaziuse
        wrote on last edited by
        #3

        I didnt understand. what is user.collection. tell me more plz thanks alot

        N 1 Reply Last reply
        0
        • S sanaziuse

          I didnt understand. what is user.collection. tell me more plz thanks alot

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          user.collection is the collection of users you would like to send emails to. :doh: You should know how you are storing and maintaining this collection.


          only two letters away from being an asset

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups