[Mono-list] System.Web.Mail not found!

Israel Fdez Cabrera israel@segurmatica.com
Mon, 19 Jul 2004 14:11:40 +0500


OK, now it works thanks a lot.

thank you for your time
best regards
Israel

El Lunes, 19 de Julio de 2004 09:12 PM, Jonathan Stowe escribi=F3:
> On Mon, 2004-07-19 at 08:03, Israel Fdez Cabrera wrote:
> > Hi all, this is my first message to the list, and I'm not sure if this =
is
> > the right list for this question but, here it is any way and U tell me =
if
> > I'm in the wrong place :)
> >
> > I just download and installed Mono 1.0 in my SuSE 9.1 Box. I'm writing a
> > test application with Monodevelop, the code for this application was
> > copied from a monodoc help page and is the following:
> >
> > --------------------------------------------------
> > // project created on 19/07/2004 at 11:03
> > using System;
> > using System.Web.Mail;
> >
> > class SSmtp
> > {
> > 	public static void Main(string[] args)
> > 	{
> > 		System.Console.Write("Prueba");
> > 		/*MailMessage message =3D new MailMessage();
> >      	message.From =3D "israel@segurmatica.com";
> >      	message.To =3D "israel@segurmatica.com";
> >      	message.Subject =3D "Hello, E-Mail world!";
> >      	message.Body =3D "This is a test mail.";
> >
> >      	SmtpMail.SmtpServer =3D "10.10.1.2";
> >      	SmtpMail.Send (message);*/
> > 	}
> > }
> > ----------------------------------------------------------
> >
> > when compile, I get the following error:
> >
> > line 3: The Namespace 'System.Web.Mail' can not be found (missing
> > assembly reference?) (CS0246)
>
> YOu need to add the reference to System.Web.dll - in MonoDevelop you
> achieve this by right clicking on references in the left hand "SOlution
> View" and selecting "Edit References" in the menu, then tick the
> System.Web checkbox.
>
> > I visit the go-mono web site and consulted the class libraries and
> > System.Web.Mail is implemented in a 98%.
> >
> > I'll appreciate any help, link or reference.
> > Best reg@rds
> > Israel
>
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list

=2D-=20
Israel Fdez Cabrera
Usuario Linux: 270292
Ciudad La Habana, Cuba.
Segurmatica.
israel@segurmatica.com