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. General Programming
  3. C#
  4. SMTP Client - amount of bytes send out of attached files.

SMTP Client - amount of bytes send out of attached files.

Scheduled Pinned Locked Moved C#
tutorialquestion
5 Posts 4 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.
  • F Offline
    F Offline
    fracalifa
    wrote on last edited by
    #1

    Hi, using the smtpclient.SendAsync method, I want to know how much byte (or the percentage) has been sent out of total bytes. I didn't found a way to get status information from the client. Is there another way (for example over the sockets interface) to retrieve these missing information if yes, how ? Thank you for your time Frank

    D E 2 Replies Last reply
    0
    • F fracalifa

      Hi, using the smtpclient.SendAsync method, I want to know how much byte (or the percentage) has been sent out of total bytes. I didn't found a way to get status information from the client. Is there another way (for example over the sockets interface) to retrieve these missing information if yes, how ? Thank you for your time Frank

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      The SmtpClient doesn't report any progress information, so you cannot do what you want using the SmtpClient class. You'll either have to find a 3rd party library that does what you want or write your own SmtpClient class.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008
      But no longer in 2009...

      F 1 Reply Last reply
      0
      • D Dave Kreskowiak

        The SmtpClient doesn't report any progress information, so you cannot do what you want using the SmtpClient class. You'll either have to find a 3rd party library that does what you want or write your own SmtpClient class.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008
        But no longer in 2009...

        F Offline
        F Offline
        fracalifa
        wrote on last edited by
        #3

        Thank you Dave, what you say I already know. But please say where to get these process information and how. Solutions ? Frank

        R 1 Reply Last reply
        0
        • F fracalifa

          Thank you Dave, what you say I already know. But please say where to get these process information and how. Solutions ? Frank

          R Offline
          R Offline
          Rozis
          wrote on last edited by
          #4

          Search for 'RFC 821' on Google (to start with.You'll find out there are more RFC's about sending email).

          1 Reply Last reply
          0
          • F fracalifa

            Hi, using the smtpclient.SendAsync method, I want to know how much byte (or the percentage) has been sent out of total bytes. I didn't found a way to get status information from the client. Is there another way (for example over the sockets interface) to retrieve these missing information if yes, how ? Thank you for your time Frank

            E Offline
            E Offline
            Ennis Ray Lynch Jr
            wrote on last edited by
            #5

            http://james.apache.org/server/rfclist/smtp/rfc0821.txt[^]

            Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane

            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