Rebex.net.SmtpException: 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.Connect("192.168.110.4");
objsmtp.Timeout = 1000000;
mm2.From = "noreply@iqbackoffice.com";
mm2.To = "rahulacc13@gmail.com";
mm2.CC = "ajay.vishwakarma@infinxinc.com";
mm2.BodyText = "hello";
objsmtp.Send(mm2);
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 https://www.rebex.net/kb/logging/default.aspx

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

...