Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 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 13th, 2003, 04:34 AM
Registered User
 
Join Date: Aug 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default changing the status of the message (read / unread)

Hi,
I'm using exchange 2000, and trying to set the
"urn:schemas:httpmail:read" property to false when inserting a new record/mail , but it fails.I can insert the record successfully but without changing the read status.
Any thoughts, ideas, suggestions,or examples?

thanks
neo

here is my query

INSERT INTO
OPENQUERY(EXCHANGE,'SELECT "DAV:contentclass"," http://schemas.microsoft.com/exchange/outlookmessageclass","urn:schemas:calendar:method" ,"urn:schemas:calendar:location","urn:schemas:http mail:subject","urn:schemas:calendar:dtstart", "urn:schemas:calendar:dtend","urn:schemas:httpmail :fromname","urn:schemas:mailheader:to","urn:schema s:mailheader:from","urn:schemas:mailheader:read","urn:schemas:httpmail:read"
FROM SCOPE(''shallow traversal of "http://SERVER5A/exchange/emailusername/Inbox"'')')
values('urn:contentclasses:calendarmessage','IPM.S chedule.Meeting.Request','REQUEST','CTN','4444 MEETING RESPONSE ACCEPT','2003-08-12 08:30:00','2003-08-12 10:30','HANNES','Hannes;Henk;Neo','0','false')





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me I want static message on status bar veena_burse ASP.NET 2.0 Professional 1 July 5th, 2007 03:43 AM
VB / Lotus - Mark messages as read/unread gattsi Pro VB 6 3 August 7th, 2006 06:26 AM
how to display message to window.status bar tllcll BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 0 November 22nd, 2005 02:04 AM
Read Error Message djuricd SQL Server 2000 2 September 21st, 2004 11:02 AM





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