Wrox Programmer Forums
|
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
 
Old August 24th, 2004, 05:53 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

So, did you give a valid from address as hcweb suggested.
Code:
Set objMail = Server.CreateObject("CDONTS.NewMail")

  objMail.From = <what you have here?> 'Should be a valid one.
  objMail.To = "webmestre@brother.ca" 'Hope this is valid
  objMail.CC = "nancy.stefanik@brother.ca" 'Hope this is valid
  objMail.Subject = "COMMERCIAL PROPOSAL Request"
  objMail.Body = strHTML 'Use strHTML/HTML whichever applicable

  objMail.MailFormat = 0
  objMail.BodyFormat = 0

  objMail.Send
  Set objMail = Nothing
_________________________
- Vijay G
Strive for Perfection
 
Old August 24th, 2004, 09:36 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Vijay G
I don't know how to thank you! but...
Thank you! It is working.

I appreciate your time,
nancy

 
Old August 24th, 2004, 10:19 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Glad that it worked.

Cheers!

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML formatted text via xsl templates? beckfield XSLT 2 February 26th, 2005 01:48 PM
Send Mail from Word with formatted Body saimen Excel VBA 1 February 10th, 2005 07:53 AM
Sending a CSS formatted HTML mail madhukp Classic ASP Basics 4 June 17th, 2004 11:30 PM
Sending both text mail and HTML mail - CDONTS madhukp Classic ASP Basics 1 October 8th, 2003 01:05 AM
Formatted/HTML text pkgal79 HTML Code Clinic 2 June 18th, 2003 02:18 AM





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