Home > Uncategorized > Collect information and send mail from User

Collect information and send mail from User

A very basic requirement for any website today is to collect User Feedback. This feedback can be saved in a Database system like SQL Server/Oracle, or for small sized websites, the information can be mailed to the Business Representative. In this blog, I am trying to store different ways to achieve this functionality.

Microsoft way – CDONTS
Article ID – 186204 – How to use CDONTS to collect and mail information from a user. This article contains an example that describes how to collect information from a user on a .HTM page, and then use that information to send mail to a recipient using Collaboration Data Objects for Windows NT Server (CDONTS) over SMTP. This article includes sample code for the HTM and ASP files as well as information on how to configure your Microsoft Management Console (MMC) Default SMTP Server.

Advantages
– Very simple way to develop the Send Mail functionality if the environment is already configured (IIS should be configured properly with SMTP)

Disadvantages
– I don’t have to say this but still……. this solution is restricted only to MS Platform. If your website is running on Unix with Non-ASP Code, then you may need different solution.
– In case if you are setting a New SMTP Server for this functionality, then you may need to test the SendMail well before.

Advertisements
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: