0 votes
by (750 points)
edited by

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 = "noreply@iqbackoffice.com";
mm2.To = "rahulacc13@gmail.com";
mm2.CC = "ajay.vishwakarma@infinxinc.com";
mm2.BodyText = "hello";
Applies to: Rebex Secure Mail

1 Answer

0 votes
by (58.9k 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.