Hi piyushjava, I think you need a Newsletters Manager to solve your problems.
Please check this link :
http://www.codeproject.com
Cheer
x_com
Main Topics
Browse All TopicsHere's what I'm trying to do. I have created one page from this page subscriber can subscribe for newletter.
I want to do when subscriber press submit button the password is generated and sent to his mails address as specified..
also the username and password send to the database also
Now, also this subscriber will get weekly newsletter...
I would like the form to do is capture the data when the submit button is clicked, and send a "personalized" autoreply. In otherwords, immediately send an email to the email address that was indicated in the form box, and address it to the name that was submitted in the form box. Also, it would be important for the form to be filled out in entirety in order for the submission process to continue.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Hi piyushjava, I think you need a Newsletters Manager to solve your problems.
Please check this link :
http://www.codeproject.com
Cheer
x_com
Ok...since I saw no updates so far, and I've had time to think about it a bit more, I'll go ahead and post some parts of what I'd see as a solution.
First off, if your server can do ASP, then on the page that handles the form, the first thing that should happen should be a statement that simply checks to see that there is a result for every required field. This can be done especially easy if you use if blocks to separate out the before and after of execution of the form and have it point to itself. So it'd look like this:
<%
Dim username, password, emailaddy..., processForm, errMsg
username = request.querystring("usern
password = request.querystring("passw
emailaddy = request.querystring("email
processForm = "yes"
If username = "" then
processForm = "no"
errMsg = "You must include a username.<br>"
End If
If password = "" then
processForm = "no"
errMsg = "You must include a password.<br>"
End If
If emailaddy = "" then processForm = "no"
errMsg = "You must include an email address.<br>"
End If
If processForm = "no" then
response.write("<B><font color='red'>" & errMsg & "</font></B>")
[INSERT FORM CODE;]
Else
[code for Processing Form]
End if
%>
Now then, about the email stuff. If you're running IIS with ASP, you can run CDONTS. Here's an example that sends an email using the address the user has left:
<% If emailaddy <> "" THEN
Set objCDOMessage = Server.CreateObject("CDONT
' creates the object
objCDOMessage.From = "me@myserver.com" ' the address listed as "From"
objCDOMessage.To = email ' the address listed as "To"
' you could include bcc and cc recipients as well
objCDOMessage.Subject = "visit to our site" ' specify the subject header
objCDOMessage.Body = "Thank you for visiting our web site."
'now send the message
objCDOMessage.Send
'wrap things up
Set objCDOMessage = Nothing
End If
%>
try to check out the link might help....
http://www.4guysfromrolla.
Business Accounts
Answer for Membership
by: JeffreyGBPosted on 2003-07-17 at 11:57:09ID: 8945471
Do you have any of this made already, like the html page with the form? What language do you need it to be in? Does your server support ASP? If so, I can work out something for you, but I might need some of the form code to do it. If you could post that, or give me a link so I could download it, I'd be happy to put something together as soon as I have a change (probably tomorrow morning).
- Jeffrey