Aconnection attempt failed

0 votes
asked Mar 11, 2015 by rockyshah2015 (750 points)
edited Mar 11, 2015 by Tomas Knopp

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 = "";
mm2.To = "";
mm2.CC = "";
mm2.BodyText = "hello";
Applies to: Rebex Secure Mail

1 Answer

0 votes
answered Mar 11, 2015 by Tomas Knopp (58,890 points)

Please create a log of communication using the Smtp.LogWriter property as described at

Then either post the log here or send it to Seeing the log we will be able to see what is going wrong and help you then.