Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8270079
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T06:27:07+00:00 2026-06-08T06:27:07+00:00

I do not understand why every example I have seen has the schema from

  • 0

I do not understand why every example I have seen has the schema from microsoft for the namespace. What is it for? Is it really sending something by looking at Microsoft servers?

How do I use CDO with Exchange with vbscript

I would post my code but it and all examples all have the same thing:

objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing")= cdoSendUsingPort

I don’t want to put the microsoft schema in there. I just want to send it to my Exchange or SMTP server. Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T06:27:10+00:00Added an answer on June 8, 2026 at 6:27 am

    The namespaces are there because they uniquely identify the properties within the object;

    Microsoft CDO for Windows 2000 enlists the use of Uniform Resource
    Identifiers (URIs) to qualify or scope field names and their semantic
    definitions. Each field accessed through a Fields collection is
    comprised of a namespace prefix and a local name. The namespace prefix
    is a URI reference used to qualify or scope the semantic definition of
    the property. For example, the subject field for a message has two
    representations: one with non US-ASCII characters encoded using the
    mechanism defined in RFC 1522, and another where these characters are
    decoded into native, UNICODE characters. By using namespaces, one can
    identify which semantic definition is intended when the “subject” for
    the message is requested. In this case, the subject field defined
    within the urn:schemas:mailheader: namespace is defined to be the
    US-ASCII string value of the field, and the subject field defined
    within the urn:schemas:httpmail: namespace is the native, UNICODE
    version.

    From the MSDN article Fields.

    It’s almost exactly the same principal as XML Namespaces, or even namespaces in a language like C#

    They aren’t actually connecting to Microsoft at all; indeed, try typing the URL into a browser, and you will get a 404 error.

    It’s just the rather inelegant syntax for setting the properties that you need to set in order to connect to your exchange server.

    For example, to set the server your code should connect to for sending mail, you set the property smtpserver. Internally, to reach this property, the assembly will map this onto the URI http://schemas.microsoft.com/cdo/configuration/smtpserver

    A C# component for sending mail might ask you to set SmtpMail.Server. However, remember, to create SmtpMail, you would have had to look in the namespace System.Web.Mail – so the fully qualified path to the property is System.Web.Mail.SmtpMail.Server Here, however, the language is far more elegant – the using statement allows us to be in the context for creating the object, which reduces the amount of typing. Remember, if you really wanted to, in C#, you could do:

    System.Web.Mail.SmtpServer mailServer = new System.Web.Mail.SmtpServer();
    

    Which is more verbose.

    In my opinion, the URI syntax is ungainly, however, at the time, it was a proposed solution to the problem of uniquely distinguishing things with the same name that could mean something different. Some people used it. A lot of people didn’t. Remember, this code is over a decade old!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a variable, for example $total1. It has a value from the database,
This is something I am really curious about and I do not really understand
I am getting a warning I do not fully understand every time I run
I want to understand median of medians algorithm on the following example: We have
With user controls on a page, I understand that every control has an impact
I simply could not understand why the following code does not work. What could
I do not understand why this error occurs...Is this a bug in XE, or
I do not understand pointers. Where can I learn more about them?
I simply do not understand why both works: this.timer.Tick += new EventHandler(timer_Tick); this.timer.Tick +=
I do not understand what environment a eval or exec statement executes in. You

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.