Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old March 18th, 2004, 09:14 AM
Registered User
Join Date: Mar 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default add HTML into Email created by ASP

I have an html form which i have wrote some asp to extract information and then create an email but i need the email to contain some html so that when it is received thier is information from the original form and another from to respond to it.

please help.


  #2 (permalink)  
Old March 22nd, 2004, 05:08 AM
Authorized User
Join Date: Jul 2003
Location: Athens, , Greece.
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts

I suppose you use CDO or CDONTS component so there are two properties BodyFormat and MailFormat and if set to 0 you can write HTML in your email and look like HTML! See the example below:

Set objMail=Server.CreateObject("CDONTS.NewMail")

Kostas Lagos

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML email problem in asp.net sanjivbshinde ASP.NET 2.0 Professional 5 May 29th, 2008 06:49 AM
Retain text in html form asp email b00gieman Classic ASP Basics 0 August 31st, 2007 04:30 AM
HTML in email? larry HTML Code Clinic 2 May 1st, 2007 10:43 PM
ASP: Sending a HTML form to an email address cancer10 Classic ASP Databases 4 February 19th, 2007 05:25 PM
How can I add asp to html metalman923 HTML Code Clinic 1 October 5th, 2006 10:38 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.