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. problem regarding accessing mail server using C#

problem regarding accessing mail server using C#

Scheduled Pinned Locked Moved C#
helpcsharpsysadmin
8 Posts 3 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.
  • N Offline
    N Offline
    nikeshkumar
    wrote on last edited by
    #1

    Hi all, my problem is that i am sending mail to perticular id . now i want to do know the status that mail it is read by user and how many times using c#. please help me Thanks & Regards Nikesh Sahu;);) nikesh

    _ 1 Reply Last reply
    0
    • N nikeshkumar

      Hi all, my problem is that i am sending mail to perticular id . now i want to do know the status that mail it is read by user and how many times using c#. please help me Thanks & Regards Nikesh Sahu;);) nikesh

      _ Offline
      _ Offline
      _AK_
      wrote on last edited by
      #2

      Hi, Do you want a read receipt from the user. Best Regards, Apurva Kaushal

      N 1 Reply Last reply
      0
      • _ _AK_

        Hi, Do you want a read receipt from the user. Best Regards, Apurva Kaushal

        N Offline
        N Offline
        nikeshkumar
        wrote on last edited by
        #3

        Hi Apurva, yes dear. whenever user reads mail i want acknowledgement that user user read mail. Thanks & Regards Nikesh Sahu nikesh

        _ 1 Reply Last reply
        0
        • N nikeshkumar

          Hi Apurva, yes dear. whenever user reads mail i want acknowledgement that user user read mail. Thanks & Regards Nikesh Sahu nikesh

          _ Offline
          _ Offline
          _AK_
          wrote on last edited by
          #4

          Hi Nikesh, Go through this article, probably this will help you. http://www.systemnetmail.com/faq/3.3.3.aspx Best Regards, Apurva Kaushal

          C N 2 Replies Last reply
          0
          • _ _AK_

            Hi Nikesh, Go through this article, probably this will help you. http://www.systemnetmail.com/faq/3.3.3.aspx Best Regards, Apurva Kaushal

            C Offline
            C Offline
            coolestCoder
            wrote on last edited by
            #5

            Hi Apurva, some days back i had also posted a query about sending mails from c#. But that didnt had a great response. and i am not able to device a solution for it till now. Now that this post is also related to emails i would appreciate if you can suggest a solution. I am using SmtpMail class for sending emails from C# like this - SmtpServer = SmtpMail.Send(frm,to,sub,body) Here i am setting the server name property with the ip address of my smtp server, which works in outlook. (My outlook is configured for that ip address and works fine). But when the send method is executed it gives an error like cannot create object from CDO sys(something like that). I checked my OS directory for cdosys.dll, and it is present in here. So can you tell what may be the problem? Is my server name property assignment wrong or something else. Anant Y. Kulkarni

            N 1 Reply Last reply
            0
            • C coolestCoder

              Hi Apurva, some days back i had also posted a query about sending mails from c#. But that didnt had a great response. and i am not able to device a solution for it till now. Now that this post is also related to emails i would appreciate if you can suggest a solution. I am using SmtpMail class for sending emails from C# like this - SmtpServer = SmtpMail.Send(frm,to,sub,body) Here i am setting the server name property with the ip address of my smtp server, which works in outlook. (My outlook is configured for that ip address and works fine). But when the send method is executed it gives an error like cannot create object from CDO sys(something like that). I checked my OS directory for cdosys.dll, and it is present in here. So can you tell what may be the problem? Is my server name property assignment wrong or something else. Anant Y. Kulkarni

              N Offline
              N Offline
              nikeshkumar
              wrote on last edited by
              #6

              Hi Anant, I read ur problem i think this can be solution of ur problem. before using this first u have add reference of System .Web . bcoz ur using windows application which automatically do noy include this reference.and write this statement on top. using System.Web.Mail; if u still face problem then let me know. MailMessage objMailMessage; objMailMessage = new MailMessage(); objMailMessage.From = "Sender ID"; objMailMessage.To = "Reciver ID"; objMailMessage.Subject = "You Subject"; objMailMessage.Body = strHTMLBody; objMailMessage.BodyFormat = MailFormat.Html; Thanks & Regards Nikesh Sahu;) // Send the Mail Message SmtpMail.Send( objMailMessage ); nikesh

              1 Reply Last reply
              0
              • _ _AK_

                Hi Nikesh, Go through this article, probably this will help you. http://www.systemnetmail.com/faq/3.3.3.aspx Best Regards, Apurva Kaushal

                N Offline
                N Offline
                nikeshkumar
                wrote on last edited by
                #7

                Hi Apurva, Thanx apurva for solving my problem. I have one more question to u. is System.Net.Mail; namespace new in VS.NET 2.0 Thanks & Regards Nikesh sahu nikesh

                _ 1 Reply Last reply
                0
                • N nikeshkumar

                  Hi Apurva, Thanx apurva for solving my problem. I have one more question to u. is System.Net.Mail; namespace new in VS.NET 2.0 Thanks & Regards Nikesh sahu nikesh

                  _ Offline
                  _ Offline
                  _AK_
                  wrote on last edited by
                  #8

                  Hi Nikesh, yes this namespace is included in 2.0 version only. You can get the details in this link. http://msdn2.microsoft.com/en-us/library/system.net.mail.aspx Best Regards, Apurva Kaushal

                  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