?
Solved

E-mail confirmation...

Posted on 1998-12-15
2
Medium Priority
?
180 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 400 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
This video teaches users how to migrate an existing Wordpress website to a new domain.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Suggested Courses
Course of the Month15 days, 4 hours left to enroll

840 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