Test Email Delivery Methods in web.config Using ASP.net
Last Updated on Wednesday, 9 January 2013 11:18 Written by David Bauernschmidt Tuesday, 8 January 2013 12:00
Among the most common items in a web site is the implementation of email. There are many ways of implementing email from a web site. You can use a multitude of technologies to accomplish this. This article is not to discuss different methods but to look at one method which is asp.net. You could just set the settings (server, login, password, etc) in code and use the standard SMTP code that so many sites put together, however; I have found this to be cumbersome when you are deploying the site to production. Furthermore; after you publish to production any further testing will mingle the production emails among the testing emails. So what can you do to make this an easier transition? If you are familiar with VS 2012 transformation then you can see where I am going. If not then be prepared to learn something new today.
Learn MoreWhy the System Can’t Send Out Email via SMTP Method in TomatoCart
Last Updated on Sunday, 11 November 2012 04:29 Written by Jack Yin Thursday, 15 November 2012 12:00
A few of the TomatoCart users report that their system doesn’t send out the email automatically as new user or new order was created. After testing the issue on their web server, we got the following as the error message when sending the test e-mail:
SMTP -> ERROR: Failed to connect to server: Connection timed out (110)
SMTP Error: Could not connect to SMTP host.
How to Set a Machine Key to Your Custom ASP Application
Last Updated on Tuesday, 6 November 2012 08:30 Written by Rodolfo Hernandez Tuesday, 6 November 2012 12:00
Machine key is used for authentication and security in ASP. If you have an asp application that requires login, you must set the Machine Key for security and to avoid a viewstate validation error. A viewstate validation error will log off any user connected to your application even if you set a 8 hours timeout. For that reason, In this article I will give a step by step guide on how to set a Machine Key to your ASP Application
The Machine Key <machineKey> element helps to control tamper proofing and encryption of ViewState, forms authentication tickets, and role cookies. Instead of creating a complicated function, we will use a tool to generate random machine keys.
1. Go to this address and get a random machine key. It should look like this:
Learn MoreHow to Publish Your ASP Application Using FTP Method in Visual Studio
Last Updated on Saturday, 29 September 2012 01:50 Written by Rodolfo Hernandez Sunday, 30 September 2012 12:00
On a previous post, we showed you how to publish your application with Web Deploy. However some of our users were experiencing issues with Web Deploy and were looking for an alternative way to publish their applications. In this article, I will give you a step by step guide on how to publish your ASP Application using FTP Method in Visual Studio
1. First, create a virtual directory. This is where your application will be installed. If you don’t know how to create one, please read this article
Learn More
Recent Comments