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. Send Mail, Max limit of TO, CC, BCC

Send Mail, Max limit of TO, CC, BCC

Scheduled Pinned Locked Moved ASP.NET
csharpquestionasp-netdiscussion
10 Posts 5 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.
  • J Offline
    J Offline
    Jay_se
    wrote on last edited by
    #1

    Hi, I am using System.Net.Mail namespace for sending mail from my application. (ASP.Net/ C#.Net 2.0) MailMessage myMailMsg = new MailMessage(); would like to add the recepients (MailAddress) here in TO or CC or BCC. Question: 1. What would be the max no of MailAddresses can be added in the MailMessage object's To, CC & BCC? My expected no users will be around 2000 to 3000. 2. Is it good approah to call the Send() method of SmtpClient Class only one time? Can you pls suggest the best practice on this? Thanks Jeyakumar

    Jey

    E M L 3 Replies Last reply
    0
    • J Jay_se

      Hi, I am using System.Net.Mail namespace for sending mail from my application. (ASP.Net/ C#.Net 2.0) MailMessage myMailMsg = new MailMessage(); would like to add the recepients (MailAddress) here in TO or CC or BCC. Question: 1. What would be the max no of MailAddresses can be added in the MailMessage object's To, CC & BCC? My expected no users will be around 2000 to 3000. 2. Is it good approah to call the Send() method of SmtpClient Class only one time? Can you pls suggest the best practice on this? Thanks Jeyakumar

      Jey

      E Offline
      E Offline
      eyeseetee
      wrote on last edited by
      #2

      If you try and send 2000-3000 e-mails using .netmail then surely it will just hang the application. How big are the contents of the e-mail?

      C J 2 Replies Last reply
      0
      • E eyeseetee

        If you try and send 2000-3000 e-mails using .netmail then surely it will just hang the application. How big are the contents of the e-mail?

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #3

        A couple of words and a bitmap with the word 'ciallis' in it.

        Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.

        E J 2 Replies Last reply
        0
        • J Jay_se

          Hi, I am using System.Net.Mail namespace for sending mail from my application. (ASP.Net/ C#.Net 2.0) MailMessage myMailMsg = new MailMessage(); would like to add the recepients (MailAddress) here in TO or CC or BCC. Question: 1. What would be the max no of MailAddresses can be added in the MailMessage object's To, CC & BCC? My expected no users will be around 2000 to 3000. 2. Is it good approah to call the Send() method of SmtpClient Class only one time? Can you pls suggest the best practice on this? Thanks Jeyakumar

          Jey

          M Offline
          M Offline
          Manas Bhardwaj
          wrote on last edited by
          #4

          Jay_se wrote:

          What would be the max no of MailAddresses can be added in the MailMessage object's To, CC & BCC? My expected no users will be around 2000 to 3000.

          Well, I believe the maximum number has nothing to do with the .Net framework but the Mail Server capacity.

          Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

          J 1 Reply Last reply
          0
          • J Jay_se

            Hi, I am using System.Net.Mail namespace for sending mail from my application. (ASP.Net/ C#.Net 2.0) MailMessage myMailMsg = new MailMessage(); would like to add the recepients (MailAddress) here in TO or CC or BCC. Question: 1. What would be the max no of MailAddresses can be added in the MailMessage object's To, CC & BCC? My expected no users will be around 2000 to 3000. 2. Is it good approah to call the Send() method of SmtpClient Class only one time? Can you pls suggest the best practice on this? Thanks Jeyakumar

            Jey

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            Max limit of TO, CC,BCC is 50 for each, taht will make 150 for the 3

            The Developer - CEH

            J 1 Reply Last reply
            0
            • C Christian Graus

              A couple of words and a bitmap with the word 'ciallis' in it.

              Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.

              E Offline
              E Offline
              eyeseetee
              wrote on last edited by
              #6

              Youve lost me.. :^)

              1 Reply Last reply
              0
              • L Lost User

                Max limit of TO, CC,BCC is 50 for each, taht will make 150 for the 3

                The Developer - CEH

                J Offline
                J Offline
                Jay_se
                wrote on last edited by
                #7

                Is it only 50?? Than, Can I use send mail individually to all the users (one by one)?? Is it good approach?

                Jey

                1 Reply Last reply
                0
                • M Manas Bhardwaj

                  Jay_se wrote:

                  What would be the max no of MailAddresses can be added in the MailMessage object's To, CC & BCC? My expected no users will be around 2000 to 3000.

                  Well, I believe the maximum number has nothing to do with the .Net framework but the Mail Server capacity.

                  Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

                  J Offline
                  J Offline
                  Jay_se
                  wrote on last edited by
                  #8

                  Is it depends on the mail server capacity? Let me check with my Admin. Is it good approach to send mail to more no of users individually? (ie) Call the Send() method several times.

                  Jey

                  1 Reply Last reply
                  0
                  • E eyeseetee

                    If you try and send 2000-3000 e-mails using .netmail then surely it will just hang the application. How big are the contents of the e-mail?

                    J Offline
                    J Offline
                    Jay_se
                    wrote on last edited by
                    #9

                    Contents of the message will be the simple text message with max of 500 words.

                    Jey

                    1 Reply Last reply
                    0
                    • C Christian Graus

                      A couple of words and a bitmap with the word 'ciallis' in it.

                      Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.

                      J Offline
                      J Offline
                      Jay_se
                      wrote on last edited by
                      #10

                      ??

                      Jey

                      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