When I am trying to send mail to an account using Smtp object of rebex i get Connection Attempt failed below is the code that i am trying please answer my query fast.
Smtp objsmtp = new Smtp();
objsmtp.Timeout = 1000000;
mm2.From = "firstname.lastname@example.org";
mm2.To = "email@example.com";
mm2.CC = "firstname.lastname@example.org";
mm2.BodyText = "hello";