Want to set up a 301 redirect for a certain single page on your site to send users to a different URL? Below is a very simple web.config file I created on an IIS7 server to demonstrate performing this action. The rule looks for a URL of http://<yourdomain.com>/folder1/default.aspx and, if found, returns an HTTP Status code […]
Sending Authenticated Email from ASP.NET C#
I previously wrote an article on what code you can use to send email using ASP.NET C#. That article assumed that the local SMTP service was allowing anonymous relay for code on the local server (i.e. 127.0.0.1). Below is a slightly revised code sample allowing for authentication against an SMTP server in case your server […]
ASP.NET, cytanium, Development/Coding, Email, Hosting, OrcsWeb