problem regarding accessing mail server using C#
-
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
-
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
-
Hi Apurva, yes dear. whenever user reads mail i want acknowledgement that user user read mail. Thanks & Regards Nikesh Sahu nikesh
-
Hi Apurva, yes dear. whenever user reads mail i want acknowledgement that user user read mail. Thanks & Regards Nikesh Sahu nikesh
Hi Nikesh, Go through this article, probably this will help you. http://www.systemnetmail.com/faq/3.3.3.aspx Best Regards, Apurva Kaushal
-
Hi Nikesh, Go through this article, probably this will help you. http://www.systemnetmail.com/faq/3.3.3.aspx Best Regards, Apurva Kaushal
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
-
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
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
-
Hi Nikesh, Go through this article, probably this will help you. http://www.systemnetmail.com/faq/3.3.3.aspx Best Regards, Apurva Kaushal
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
-
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
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