I AM USING THE BELOW CODE to send email.
but problem is that if i am using Enablessl=true
than it nshow the error "server does not support secure connection"
if i am not using the security credantials than it show s the error your Ip is listed in the WWW,spamhaus.org
so i am not able to send mail.
i found in spamhous that they request to use authentication method.
but with authentication it shows
"server does not support secure connection"
protected void Button1_Click(object sender, EventArgs e)
{
try{
MailMessage mail = new MailMessage();
mail.To.Add("info@domain.com");
mail.From = new MailAddress(TextBox2.Text);
mail.Subject = TextBox3.Text;
mail.Body = TextBox4.Text;
mail.IsBodyHtml = true;
SmtpClient smtp = new SmtpClient();
smtp ...
Go to the complete details ...