you cant hit their SMTP server from outside without any authentication,first you must be registered(free) then trough your account you can send your mails.
but because it is free it has own limitations...(I dont think you could send your users weekly mails and....)
you can do it like below
Code:
{
MailMessage oMsg = new MailMessage();
oMsg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", 1);
oMsg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "WMHNickName");
oMsg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "password");
oMsg.From = "[email protected]";
oMsg.To = "[email protected]";
oMsg.Body = "Hello!";
Label1.Text="mail sent";
SmtpMail.SmtpServer = "localhost";
try{SmtpMail.Send(oMsg);}
catch(Exception Ex){Label1.Text = Ex.ToString();}
}
--------------------------------------------
Mehdi.:)