System.Web.Mail

  • Thread starter Thread starter Xarky
  • Start date Start date
X

Xarky

Hi,
I am writing a windows form application to send mail. I am using
the System.Web.Mail namespace, but the Mail namespace is not being
found. Should I install something or what am I doing wrong.


Thanks
 
You have to add a reference to System.Web.dll.

-- Ricky Lee
==================================================
^o^ "When all doors are closed, God will open a Windows" ^o^
==================================================
 
Xarky said:
Hi,
I am writing a windows form application to send mail. I am using
the System.Web.Mail namespace, but the Mail namespace is not being
found. Should I install something or what am I doing wrong.

You need to add a reference to System.Web.dll in your project.

/J\
 
Hi,
I am trying to send messages from different mail accounts having
different hosts. Most of the accounts are working, but one of them is
giving me the following error when trying to send the message.

The error message given is the following:
"Could not acces 'CDO.Message' object".

Can someone help
Thanks
 
Problem was soleved by using the following:
SmtpMail.SmtpServer.Insert(0, SMTPServer);
 
Back
Top