where's the mail package

D

Dica

i'm trying to send email from within a console program and can't import the
namespace System.Web.Mail (not found). i've got the standard .Net2003 IDE.
is it possible the package isn't included?

tks
 
C

Cor Ligthert

Dica,

When you cannot import something, than you have first to set a reference to
that.
One of the ways is using Project -> add references.

I hope this helps,

Cor
 
D

Dica

Cor Ligthert said:
Dica,

When you cannot import something, than you have first to set a reference to
that.
One of the ways is using Project -> add references.

I hope this helps,

Cor

thank you, cor. that fixed it.
 
H

Herfried K. Wagner [MVP]

Dica said:
i'm trying to send email from within a console program and can't import
the
namespace System.Web.Mail (not found).

Add a reference to "System.Web.dll".
 

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

Top