Solved

E-mail confirmation...

Posted on 1998-12-15
2
162 Views
Last Modified: 2013-12-25
Here is what I want to do:

Allow a user to fill in a form (name, address, a few personal questions etc.), store the data in an Access 97 database, send an e-mail to that person (BCC to another person as well) containg a thank you note and the very same data they entered on that form, which will be extracted from the DB (since the DB may have some other data that needs to be pulled into the E-mail).

Products I plan to use:

Microsoft Back Office 4.0 (IIS 4.0, IIS SMTP Server, ASP, Visual Basic, Visual InterDev etc.).

Any ideas/suggestions on where/how to start?
0
Comment
Question by:loyaliser
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Author Comment

by:loyaliser
ID: 1857221
Edited text of question
0
 
LVL 1

Accepted Solution

by:
rajgn earned 100 total points
ID: 1857222
If you use IIS4.0, You can use NewMail Object in the built in  library CDONTS for mailing activities. It's very simple to use. You can build confirmation message based on the data the user enters(let's say 'mesg') then insert the following code to send it by mail.

  Set objNewMail = CreateObject("CDONTS.NewMail")
  objNewMail.Send("fromme@company.com", "toyou@company.com", "subject:Hello", _
                  mesg, 0) ' low importance
  Set objNewMail = Nothing ' canNOT reuse it for another message

Use Bcc,Cc etc. properties of this object to send Bcc or Cc. For complete documentation of this object, refer to:

http://premium.microsoft.com/msdn/library/sdkdoc/iishelp/iis/htm/asp/amsmtp_0qzj.htm
0

Featured Post

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to dynamically set the form action using jQuery.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question