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 = "email@example.com";
mm2.To = "firstname.lastname@example.org";
mm2.CC = "email@example.com";
mm2.BodyText = "hello";