Email using CDO 1.2
cole.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]
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]
0
Comments
-
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.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 250 Dynamics CRM
- 102 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions