Email using CDO 1.2

cole.rutherfordcole.rutherford Member Posts: 12
The code I'm working on now is using the Microsoft CDO for Windows 2000 Automation, but I need to set the importance of the email when it is sent. I found that the CDO 1.2 Library has this function, but I cannot figure out how to change the schemas that were in the CDO for Windows 2000. Here are the 3 schemas:


CDOMessage2.Configuration.Fields.Item('http://schemas.microsoft.com/cdo/configuration/smtpserver').Value := SMTPSetup.Server;

CDOMessage2.Configuration.Fields.Item('http://schemas.microsoft.com/cdo/configuration/sendusing').Value := 2;

CDOMessage2.Configuration.Fields.Item
('http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout').Value := 10;

Thanks for the help.[/code]

Comments

  • FishermanFisherman Member Posts: 456
    I know this was a few months ago, but I'm trying to solve a similar problem, and I ran across your posts.

    I ran a list of URL Schemas from the Fields collection of CDO.Message in VB.
    0:DAV:contentclass
    1:http://schemas.microsoft.com/exchange/sensitivity
    2:urn:schemas:httpmail:content-media-type
    3:urn:schemas:httpmail:hasattachment
    4:urn:schemas:httpmail:htmldescription
    5:urn:schemas:httpmail:importance
    6:urn:schemas:httpmail:priority
    7:urn:schemas:httpmail:textdescription
    8:urn:schemas:mailheader:content-class
    9:urn:schemas:mailheader:content-transfer-encoding
    10:urn:schemas:mailheader:content-type
    11:urn:schemas:mailheader:importance
    12:urn:schemas:mailheader:priority
    13:urn:schemas:mailheader:thread-index
    

    numbers 5 and 6 may be of interest to you.
Sign In or Register to comment.