Solved

ASP Email, a new twist

Posted on 2007-04-04
2
181 Views
Last Modified: 2010-04-16
I have an access database I'm accessing through ASP.  I have ASP pages that show a snapshot of information about a record or person.  I want to email them that information as a confirmation.  I DON'T want to autoemail it through the server using CDO.  I want to generate an email with all the data I've defined in the BODY of the email, and (if possible) a Subject line I choose, and view/edit the email before I send it.
I can't use the A HREF:MAILTO function because it cuts off the number of characters in the body, and I want a full page (with formatting).  I also can't use that function because it doesn't allow spaces in my Subject line.  
I use CDO to auto-send emails, but that's not what I want to do, I want to see the email in front of me for last minute verification and alteration before I send it.  
I know how to take an ASP page and tell it to become an Excel file, and I tried the same thing to make it become an Outlook file, but it didn't work.
What can I do to generate an email with all my data and formatting in the body, a subject line that contains spaces and hopefully even the Email address filled in?
0
Comment
Question by:Mannezman
2 Comments
 
LVL 8

Expert Comment

by:jawahar_prasad
ID: 18850302
OK..
Before sending the email, just fetch the data from the database and put the email in the text box, subject in the text box, body in the textarea and the submit button below..

You can modify the content and click send, so that the email will be sent to the recipient...
0
 
LVL 10

Accepted Solution

by:
Si_Hibbard earned 250 total points
ID: 18850317
Create a new asp page, and call this with the recordid etc passed in.

The page should query the DB for the info on the record and populate some text boxes - email address, subject, body for example on a form. Place a submit button on the page which send the form to a script which simply takes the textbox data and sends an email via CDO and displays a message to say the email has been sent.

Thats how i would tackle the problem.

0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…

911 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

17 Experts available now in Live!

Get 1:1 Help Now