Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. 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 Databases 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 14th, 2004, 02:38 AM
Authorized User
 
Join Date: Jun 2003
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default Importance in CDO

Can anyone tell me the correct syntax for setting email Importance in CDO please, or point me to a web adddress?

"objMessage.Importance = 2" gives a 'method or property not supported' message, and although I've searched everywhere I can think of I can find no reference to setting importance when using CDO (not CDONTS or CDOSYS).

Thanks you
Pat

-------------------
System 3 2000 Limited
www.system3-2000.co.uk
__________________
-------------------
System 3 2000 Limited
www.system3-2000.co.uk (but very out-of-date!)
 
Old August 15th, 2004, 05:48 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Use this.

objMessage.Fields("urn:schemas:httpmail:importance ").Value = 2
objMessage.Fields.Update()

But don't forget to update once after setting the importance of message.

Cheers!

_________________________
- Vijay G
Strive for Perfection
 
Old August 15th, 2004, 05:54 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Here you go,

Reference to CDO.Message Fields collection.

urn:schemas:httpmail:Importance

Hope this helps.
Cheers!

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
Importance of SSL Certificates trents4life ASP.NET 2.0 Basics 0 November 24th, 2006 09:17 AM
Importance of Robot file eapsokha HTML Code Clinic 1 August 30th, 2004 05:14 AM





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