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. C#.NET Email

C#.NET Email

Scheduled Pinned Locked Moved C#
csharphelptutorial
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.
  • T Offline
    T Offline
    TRK UK
    wrote on last edited by
    #1

    Hi How to Track the delivery Status of email.i am sending emails from System.Net.Mail in C#.NET.i want know weather email sent or Bounced or any error While Sending email.I code it in Try Catch block,if no error i am assuming that mail was deliverd else disply error message from Catch Block. Thanks for any help. TRK

    R G 2 Replies Last reply
    0
    • T TRK UK

      Hi How to Track the delivery Status of email.i am sending emails from System.Net.Mail in C#.NET.i want know weather email sent or Bounced or any error While Sending email.I code it in Try Catch block,if no error i am assuming that mail was deliverd else disply error message from Catch Block. Thanks for any help. TRK

      R Offline
      R Offline
      Ravi Bhavnani
      wrote on last edited by
      #2

      TRK@UK wrote:

      if no error i am assuming that mail was deliverd

      Not really. That just means your client application was able to successfully request the SMTP server to deliver the message. /ravi

      This is your brain on Celcius Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

      1 Reply Last reply
      0
      • T TRK UK

        Hi How to Track the delivery Status of email.i am sending emails from System.Net.Mail in C#.NET.i want know weather email sent or Bounced or any error While Sending email.I code it in Try Catch block,if no error i am assuming that mail was deliverd else disply error message from Catch Block. Thanks for any help. TRK

        G Offline
        G Offline
        Guffa
        wrote on last edited by
        #3

        You can not get any delivery status for a mail when you send it, as it is not delivered directly to the recipient. You only know if it got delivered to your outgoing mail server. You can never ever be certain if a mail was delivered or not. The closest you can get is if you include a request for a receipt in the mail, then the receiving mail program may attempt to send a receipt back to you when the user opens it. If the mail could not be delivered, the mail server may attempt to send an error report to the mail address that you supplied as sender. In some cases, for example if the mail was filtered out as spam, it will not send any error report.

        --- Year happy = new Year(2007);

        D 1 Reply Last reply
        0
        • G Guffa

          You can not get any delivery status for a mail when you send it, as it is not delivered directly to the recipient. You only know if it got delivered to your outgoing mail server. You can never ever be certain if a mail was delivered or not. The closest you can get is if you include a request for a receipt in the mail, then the receiving mail program may attempt to send a receipt back to you when the user opens it. If the mail could not be delivered, the mail server may attempt to send an error report to the mail address that you supplied as sender. In some cases, for example if the mail was filtered out as spam, it will not send any error report.

          --- Year happy = new Year(2007);

          D Offline
          D Offline
          Dan Neely
          wrote on last edited by
          #4

          Guffa wrote:

          You can never ever be certain if a mail was delivered or not. The closest you can get is if you include a request for a receipt in the mail, then the receiving mail program may attempt to send a receipt back to you when the user opens it.

          Actually you can get a bit closer than that if you're sending html email, the recipient's client displays images, and you have a webserver. Embed a link to an image on your webserver with a unique identifier in the URL, if the image is ever accessed the email was displayed.

          -- Rules of thumb should not be taken for the whole hand.

          G 1 Reply Last reply
          0
          • D Dan Neely

            Guffa wrote:

            You can never ever be certain if a mail was delivered or not. The closest you can get is if you include a request for a receipt in the mail, then the receiving mail program may attempt to send a receipt back to you when the user opens it.

            Actually you can get a bit closer than that if you're sending html email, the recipient's client displays images, and you have a webserver. Embed a link to an image on your webserver with a unique identifier in the URL, if the image is ever accessed the email was displayed.

            -- Rules of thumb should not be taken for the whole hand.

            G Offline
            G Offline
            Guffa
            wrote on last edited by
            #5

            dan neely wrote:

            Actually you can get a bit closer than that if you're sending html email, the recipient's client displays images, and you have a webserver. Embed a link to an image on your webserver with a unique identifier in the URL, if the image is ever accessed the email was displayed.

            That is an alternative, but I'm not certain that it is any closer. The recipient may choose not to display images in mails, just as s/he can choose not to send any receipt.

            --- Year happy = new Year(2007);

            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