On Sun, 2004-07-04 at 09:10, Pedro Santos wrote: > Hello. I am using the SmtpMail class to send an email. However I get > this exception: > > System.Net.Sockets.SocketException: Connection refused > in <0x0011b> System.Net.Sockets.Socket:Connect (System.Net.EndPoint) > in <0x00017> System.Net.Sockets.TcpClient:Connect (System.Net.IPEndPoint) > in <0x001ff> System.Net.Sockets.TcpClient:Connect (string,int) > > I am using mono and XSP on Mandrake. Is there any requirements to use this class? >
By default you need to be running an SMTP server on your local machine or you need to set the appropriate server through the System.Web.Mail.SmtpMail.SmtpServer. /J\ _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
