System.Web.Mail can not be found

  • Thread starter Thread starter A.M
  • Start date Start date
A

A.M

Hi,

How can i add a refrence to System.Web.Mail ?

I can not use it in my projects

Thnaks,
Ali
 
A.M said:
How can i add a refrence to System.Web.Mail ?

I can not use it in my projects

You can not add a reference to System.Web.Mail because it is a namespace
name. You could add a reference to an assembly. Which one depends on the
class you want to use. At the bottom of the documentation of the class there
is the name of the assembly containing the class. Choose it when adding the
reference (e.g. by right-clicking on the "references" node in the solution
explorer and selecting "add reference").
 
I already have a refrence to System.Web.dll.
Still i can not Import System.Web.Mail

Thanks,
Ali
 
I found the problem:.

Even you use another SMTP server, you have to have local IIS SMTP server to
have CDO !!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top