any special configuration required for Rebex Mail for ASP.NET?

0 votes
asked Nov 15, 2016 by tromano (120 points)

Everything was working fine on my development PC. So I installed the ASP.NET app on the IIS server, and there it doesn't work.

I've ensured that ports 25 and 465 are open for inbound/outbound traffic on the hardware firewall. Windows software firewall is OFF.

Network admins say they see no outbound traffic on port 465.

Any other basic configuration steps required? Does Rebex require any file permissions?

Applies to: Rebex Secure Mail

1 Answer

0 votes
answered Nov 16, 2016 by Lukas Matyska (36,240 points)

Can you please describe what does mean "it doesn't work"?

Have you received any exception?

Can you please provide us with communication log in Debug level. It can be created like this: http://www.rebex.net/kb/logging/default.aspx

Does your app runs in limited trust, e.g. Medium Trust?

commented Nov 16, 2016 by tromano (120 points)
I was going to do that logging and provide additional detail after first finding out whether there was any particular configuration / setup required for ASP.NET.  The app is a Medium Trust.

P.S. After some delving, I believe the problem may involve a resource file I'm using to build the message body, and it may not be related to Rebex.
commented Nov 16, 2016 by Lukas Matyska (36,240 points)
Thank you for the information. If you find that the issue is related to Rebex, please let me know.

Also please note, that Medium trust doesn't have `SocketPermission` by default. Without `SocketPermission` we are unable to connect to network (to an SMTP server). See also http://forum.rebex.net/440/medium-trust-security-problems?show=441#a441
...