Solved

E-mail confirmation...

Posted on 1998-12-15
2
147 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
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
Read about why website design really matters in today's demanding market.
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 count occurrences of each item in an array.

758 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now