Email sending in Win Application
-
Hi All, i found an article posted by Mr. Fabian on email sending. http://www.codeproject.com/cs/internet/WinEmailClient.asp#\_\_comments it is working perfectly when i compile this program. But there is a system.web.mail namespace in this windows app, which is not possible to write in my windows appl. but i can use it in his program. Why? Anyone please help me, because i need this program. Ali
-
Hi All, i found an article posted by Mr. Fabian on email sending. http://www.codeproject.com/cs/internet/WinEmailClient.asp#\_\_comments it is working perfectly when i compile this program. But there is a system.web.mail namespace in this windows app, which is not possible to write in my windows appl. but i can use it in his program. Why? Anyone please help me, because i need this program. Ali
-
Could not understand the question. If it is compiling then where is hte problem?
Every bit counts
ADD
i will explain... i downloaded the code, saved in a local directory, clicked on .csproject file, and run the program, it works and i could send mail. then i created a new windows app, tried to include system.web.mail namespace in it, but i cant ( when i press ctrl+space after system.web, i get nothing.) but when i press ctrl+space after system.web in his program, i get web.mail. We both have done windows program. Do i need to set anything more?
-
Hi All, i found an article posted by Mr. Fabian on email sending. http://www.codeproject.com/cs/internet/WinEmailClient.asp#\_\_comments it is working perfectly when i compile this program. But there is a system.web.mail namespace in this windows app, which is not possible to write in my windows appl. but i can use it in his program. Why? Anyone please help me, because i need this program. Ali
Add a reference to System.Web dll, perhaps?
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Messianic Instrumentals (with audio) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
i will explain... i downloaded the code, saved in a local directory, clicked on .csproject file, and run the program, it works and i could send mail. then i created a new windows app, tried to include system.web.mail namespace in it, but i cant ( when i press ctrl+space after system.web, i get nothing.) but when i press ctrl+space after system.web in his program, i get web.mail. We both have done windows program. Do i need to set anything more?
You probably are missing reference to System.Web assembly. Go to Solution exporer, veiw the references under the project, if you dont find System.Web listed there, Add it.
Every bit counts
ADD
-
Add a reference to System.Web dll, perhaps?
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Messianic Instrumentals (with audio) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
Thanks ADD and judah, it was correct. i am just a fresher in .net. Thanks again. bye