By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,007 Members | 998 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,007 IT Pros & Developers. It's quick & easy.

MailMessage question

P: n/a
Hi MSDN Team!

I have a doubt about the "MailMessage" class in Framework .NET 1.1.
My SMTP server works in a local network that no have access to the internet
for security reasons. And in my network we have an application that send
emails to other department inside the company using us SMTP server that
requires authentication...

I'd like to know why when I use the "MailMessage" Class with "SMTPServer"
class to authenticate in my SMTP Server I have to send an URL as
"http://schemas.microsoft.com/cdo/configuration/"; to authenticate. Is it the
unique mode to send emails in my situation? What's the other mode to send
emails without pass by Microsoft's URL?

Thanks,

--
MSG Servicos de Informatica
Rio de Janeiro / Brazil
Nov 19 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
=?Utf-8?B?TVNHIFNlcnZpY29zIGRlIEluZm9ybWF0aWNh?=
<me*****@newsgroup.nospam> wrote in
news:B1**********************************@microsof t.com:
I'd like to know why when I use the "MailMessage" Class with
"SMTPServer"
class to authenticate in my SMTP Server I have to send an URL as
"http://schemas.microsoft.com/cdo/configuration/"; to authenticate. Is
it the unique mode to send emails in my situation? What's the other
mode to send emails without pass by Microsoft's URL?


You'll need to be using .NET 1.1 to use these fields.

With the System.Web.Mail classes, you'll have to pass in these fields,
since authentication is not supported out of the box.

You might want to take a look at the field:
http://schemas.microsoft.com/cdo/con...tion/sendusing

0 is basic. 1 is NTML. 2 is SMTP authentication.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 19 '05 #2

P: n/a
Thanks for Lucas's inputs,

Hi Friend,

For the "http://schemas.microsoft.com/cdo/configuration/ " , it's not a
normal URL, it's a configuration URI(maybe we should say it's a key for
configuring certain setting of the CDO object):

#http://schemas.microsoft.com/cdo/configuration/ Namespace
http://msdn.microsoft.com/library/en..._configuration.
asp?frame=true

In fact, the System.Web.Mail components in .net framework is using the CDO
object underlying. And the
http://schemas.microsoft.com/cdo/configuration/ contains a collection of
schema URIs( keys) to identify a set of settings of the CDO component , we
can configure them thorugh these URIs at runtime.

BTW, here is a FAQ site of System.Web.Mail which contains may common
question on the web mail components:

http://www.systemwebmail.com/

Hope also helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Subject: Re: MailMessage question
| From: Lucas Tam <RE********@rogers.com>
| References: <B1**********************************@microsoft.co m>
| Organization: None of Your Business!!!
| Message-ID: <Xn***************************@127.0.0.1>
| User-Agent: Xnews/??.01.30
| X-Face:
#gFwhH/LPM9"eq<Dzb3~[P'7%dS98vHkcFbX;SjezglosS.OP?:tzhHT7o=G03o0%St#;xT bMCCP
'rF/EnVDK-y*a(Qh3J)+Fn]"/&@D(dOG=ITH!\afBA$O}D";gSvoEpfd
| Reply-To: RE********@rogers.com
| Lines: 25
| X-Complaints-To: ab***@easynews.com
| X-Complaints-Info: Please be sure to forward a copy of ALL headers
otherwise we will be unable to process your complaint properly.
| Date: Thu, 11 Aug 2005 15:11:22 GMT
| Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTFEED02.phx.gbl!tornad o.fastwebnet.it!tiscali!ne
wsfeed1.ip.tiscali.net!news.glorb.com!newsfeed2.ea synews.com!easynews.com!ea
synews!easynews-local!fe04.news.easynews.com.POSTED!not-for-mail
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:117418
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| =?Utf-8?B?TVNHIFNlcnZpY29zIGRlIEluZm9ybWF0aWNh?=
| <me*****@newsgroup.nospam> wrote in
| news:B1**********************************@microsof t.com:
|
| > I'd like to know why when I use the "MailMessage" Class with
| > "SMTPServer"
| > class to authenticate in my SMTP Server I have to send an URL as
| > "http://schemas.microsoft.com/cdo/configuration/"; to authenticate. Is
| > it the unique mode to send emails in my situation? What's the other
| > mode to send emails without pass by Microsoft's URL?
|
| You'll need to be using .NET 1.1 to use these fields.
|
| With the System.Web.Mail classes, you'll have to pass in these fields,
| since authentication is not supported out of the box.
|
| You might want to take a look at the field:
| http://schemas.microsoft.com/cdo/con...tion/sendusing
|
| 0 is basic. 1 is NTML. 2 is SMTP authentication.
|
| --
| Lucas Tam (RE********@rogers.com)
| Please delete "REMOVE" from the e-mail address when replying.
| http://members.ebay.com/aboutme/coolspot18/
|

Nov 19 '05 #3

P: n/a
And if I do not have internet connection in my intranet where the
application is running? How would I reach
"http://schemas.microsoft.com/cdo/configuration/" ?

WHAT CAN I DO IN THIS SITUATION????

--
MSG Servicos de Informatica
Rio de Janeiro / Brazil
"Steven Cheng[MSFT]" wrote:
Thanks for Lucas's inputs,

Hi Friend,

For the "http://schemas.microsoft.com/cdo/configuration/ " , it's not a
normal URL, it's a configuration URI(maybe we should say it's a key for
configuring certain setting of the CDO object):

#http://schemas.microsoft.com/cdo/configuration/ Namespace
http://msdn.microsoft.com/library/en..._configuration.
asp?frame=true

In fact, the System.Web.Mail components in .net framework is using the CDO
object underlying. And the
http://schemas.microsoft.com/cdo/configuration/ contains a collection of
schema URIs( keys) to identify a set of settings of the CDO component , we
can configure them thorugh these URIs at runtime.

BTW, here is a FAQ site of System.Web.Mail which contains may common
question on the web mail components:

http://www.systemwebmail.com/

Hope also helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Subject: Re: MailMessage question
| From: Lucas Tam <RE********@rogers.com>
| References: <B1**********************************@microsoft.co m>
| Organization: None of Your Business!!!
| Message-ID: <Xn***************************@127.0.0.1>
| User-Agent: Xnews/??.01.30
| X-Face:
#gFwhH/LPM9"eq<Dzb3~[P'7%dS98vHkcFbX;SjezglosS.OP?:tzhHT7o=G03o0%St#;xT bMCCP
'rF/EnVDK-y*a(Qh3J)+Fn]"/&@D(dOG=ITH!\afBA$O}D";gSvoEpfd
| Reply-To: RE********@rogers.com
| Lines: 25
| X-Complaints-To: ab***@easynews.com
| X-Complaints-Info: Please be sure to forward a copy of ALL headers
otherwise we will be unable to process your complaint properly.
| Date: Thu, 11 Aug 2005 15:11:22 GMT
| Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTFEED02.phx.gbl!tornad o.fastwebnet.it!tiscali!ne
wsfeed1.ip.tiscali.net!news.glorb.com!newsfeed2.ea synews.com!easynews.com!ea
synews!easynews-local!fe04.news.easynews.com.POSTED!not-for-mail
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:117418
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| =?Utf-8?B?TVNHIFNlcnZpY29zIGRlIEluZm9ybWF0aWNh?=
| <me*****@newsgroup.nospam> wrote in
| news:B1**********************************@microsof t.com:
|
| > I'd like to know why when I use the "MailMessage" Class with
| > "SMTPServer"
| > class to authenticate in my SMTP Server I have to send an URL as
| > "http://schemas.microsoft.com/cdo/configuration/"; to authenticate. Is
| > it the unique mode to send emails in my situation? What's the other
| > mode to send emails without pass by Microsoft's URL?
|
| You'll need to be using .NET 1.1 to use these fields.
|
| With the System.Web.Mail classes, you'll have to pass in these fields,
| since authentication is not supported out of the box.
|
| You might want to take a look at the field:
| http://schemas.microsoft.com/cdo/con...tion/sendusing
|
| 0 is basic. 1 is NTML. 2 is SMTP authentication.
|
| --
| Lucas Tam (RE********@rogers.com)
| Please delete "REMOVE" from the e-mail address when replying.
| http://members.ebay.com/aboutme/coolspot18/
|

Nov 19 '05 #4

P: n/a
=?Utf-8?B?TVNHIFNlcnZpY29zIGRlIEluZm9ybWF0aWNh?= <me*****@newsgroup.nospam>
wrote in news:0C**********************************@microsof t.com:
And if I do not have internet connection in my intranet where the
application is running? How would I reach
"http://schemas.microsoft.com/cdo/configuration/" ?


It's an (xml) schema... not an actual URL.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 19 '05 #5

P: n/a
Yes, "http://schemas.microsoft.com/cdo/configuration/" is just a URI (not
necessarily a valid URL on the internet). It is just the same as other keys
such as:

"urn:microsoft-com:mail", "key_microsoft_mail" .....

Using such schema keys dosn't require the box be connected to the internet,
these buildin schema key will be recognized by the certain processing
application. For example, for the

"http://schemas.microsoft.com/cdo/configuration/"

it'll be recoginzed by the CDO components no matter the components is
running on a isolated box or connected to internet.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Subject: Re: MailMessage question
| From: Lucas Tam <RE********@rogers.com>
| References: <B1**********************************@microsoft.co m>
<Xn***************************@127.0.0.1>
<D$**************@TK2MSFTNGXA01.phx.gbl>
<0C**********************************@microsoft.co m>
| Organization: None of Your Business!!!
| Message-ID: <Xn***************************@127.0.0.1>
| User-Agent: Xnews/??.01.30
| X-Face:
#gFwhH/LPM9"eq<Dzb3~[P'7%dS98vHkcFbX;SjezglosS.OP?:tzhHT7o=G03o0%St#;xT bMCCP
'rF/EnVDK-y*a(Qh3J)+Fn]"/&@D(dOG=ITH!\afBA$O}D";gSvoEpfd
| Reply-To: RE********@rogers.com
| Lines: 13
| X-Complaints-To: ab***@easynews.com
| X-Complaints-Info: Please be sure to forward a copy of ALL headers
otherwise we will be unable to process your complaint properly.
| Date: Tue, 16 Aug 2005 01:06:16 GMT
| Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfee d00.sul.t-online.de!t-onli
ne.de!newshub.sdsu.edu!newsfeed.news2me.com!newsfe ed2.easynews.com!easynews.
com!easynews!easynews-local!fe02.news.easynews.com.POSTED!not-for-mail
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:118141
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| =?Utf-8?B?TVNHIFNlcnZpY29zIGRlIEluZm9ybWF0aWNh?=
<me*****@newsgroup.nospam>
| wrote in news:0C**********************************@microsof t.com:
|
| > And if I do not have internet connection in my intranet where the
| > application is running? How would I reach
| > "http://schemas.microsoft.com/cdo/configuration/" ?
|
| It's an (xml) schema... not an actual URL.
|
| --
| Lucas Tam (RE********@rogers.com)
| Please delete "REMOVE" from the e-mail address when replying.
| http://members.ebay.com/aboutme/coolspot18/
|

Nov 19 '05 #6

P: n/a
Thanks for the answer. This solve my question.
--
MSG Servicos de Informatica
Rio de Janeiro / Brazil
"Steven Cheng[MSFT]" wrote:
Yes, "http://schemas.microsoft.com/cdo/configuration/" is just a URI (not
necessarily a valid URL on the internet). It is just the same as other keys
such as:

"urn:microsoft-com:mail", "key_microsoft_mail" .....

Using such schema keys dosn't require the box be connected to the internet,
these buildin schema key will be recognized by the certain processing
application. For example, for the

"http://schemas.microsoft.com/cdo/configuration/"

it'll be recoginzed by the CDO components no matter the components is
running on a isolated box or connected to internet.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Subject: Re: MailMessage question
| From: Lucas Tam <RE********@rogers.com>
| References: <B1**********************************@microsoft.co m>
<Xn***************************@127.0.0.1>
<D$**************@TK2MSFTNGXA01.phx.gbl>
<0C**********************************@microsoft.co m>
| Organization: None of Your Business!!!
| Message-ID: <Xn***************************@127.0.0.1>
| User-Agent: Xnews/??.01.30
| X-Face:
#gFwhH/LPM9"eq<Dzb3~[P'7%dS98vHkcFbX;SjezglosS.OP?:tzhHT7o=G03o0%St#;xT bMCCP
'rF/EnVDK-y*a(Qh3J)+Fn]"/&@D(dOG=ITH!\afBA$O}D";gSvoEpfd
| Reply-To: RE********@rogers.com
| Lines: 13
| X-Complaints-To: ab***@easynews.com
| X-Complaints-Info: Please be sure to forward a copy of ALL headers
otherwise we will be unable to process your complaint properly.
| Date: Tue, 16 Aug 2005 01:06:16 GMT
| Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfee d00.sul.t-online.de!t-onli
ne.de!newshub.sdsu.edu!newsfeed.news2me.com!newsfe ed2.easynews.com!easynews.
com!easynews!easynews-local!fe02.news.easynews.com.POSTED!not-for-mail
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:118141
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| =?Utf-8?B?TVNHIFNlcnZpY29zIGRlIEluZm9ybWF0aWNh?=
<me*****@newsgroup.nospam>
| wrote in news:0C**********************************@microsof t.com:
|
| > And if I do not have internet connection in my intranet where the
| > application is running? How would I reach
| > "http://schemas.microsoft.com/cdo/configuration/" ?
|
| It's an (xml) schema... not an actual URL.
|
| --
| Lucas Tam (RE********@rogers.com)
| Please delete "REMOVE" from the e-mail address when replying.
| http://members.ebay.com/aboutme/coolspot18/
|

Nov 19 '05 #7

P: n/a
You're welcome :-)

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Thread-Topic: MailMessage question
| thread-index: AcWjMpWs1bh8rNtUSlmk+cOvinTrPA==
| X-WBNR-Posting-Host: 200.142.104.78
| From: =?Utf-8?B?TVNHIFNlcnZpY29zIGRlIEluZm9ybWF0aWNh?=
<me*****@newsgroup.nospam>
| References: <B1**********************************@microsoft.co m>
<Xn***************************@127.0.0.1>
<D$**************@TK2MSFTNGXA01.phx.gbl>
<0C**********************************@microsoft.co m>
<Xn***************************@127.0.0.1>
<z7**************@TK2MSFTNGXA01.phx.gbl>
| Subject: Re: MailMessage question
| Date: Wed, 17 Aug 2005 06:50:10 -0700
| Lines: 80
| Message-ID: <F8**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:118572
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Thanks for the answer. This solve my question.
|
|
| --
| MSG Servicos de Informatica
| Rio de Janeiro / Brazil
|
|
| "Steven Cheng[MSFT]" wrote:
|
| > Yes, "http://schemas.microsoft.com/cdo/configuration/" is just a URI
(not
| > necessarily a valid URL on the internet). It is just the same as other
keys
| > such as:
| >
| > "urn:microsoft-com:mail", "key_microsoft_mail" .....
| >
| > Using such schema keys dosn't require the box be connected to the
internet,
| > these buildin schema key will be recognized by the certain processing
| > application. For example, for the
| >
| > "http://schemas.microsoft.com/cdo/configuration/"
| >
| > it'll be recoginzed by the CDO components no matter the components is
| > running on a isolated box or connected to internet.
| >
| > Thanks,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| >
| > --------------------
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | Subject: Re: MailMessage question
| > | From: Lucas Tam <RE********@rogers.com>
| > | References: <B1**********************************@microsoft.co m>
| > <Xn***************************@127.0.0.1>
| > <D$**************@TK2MSFTNGXA01.phx.gbl>
| > <0C**********************************@microsoft.co m>
| > | Organization: None of Your Business!!!
| > | Message-ID: <Xn***************************@127.0.0.1>
| > | User-Agent: Xnews/??.01.30
| > | X-Face:
| >
#gFwhH/LPM9"eq<Dzb3~[P'7%dS98vHkcFbX;SjezglosS.OP?:tzhHT7o=G03o0%St#;xT bMCCP
| > 'rF/EnVDK-y*a(Qh3J)+Fn]"/&@D(dOG=ITH!\afBA$O}D";gSvoEpfd
| > | Reply-To: RE********@rogers.com
| > | Lines: 13
| > | X-Complaints-To: ab***@easynews.com
| > | X-Complaints-Info: Please be sure to forward a copy of ALL headers
| > otherwise we will be unable to process your complaint properly.
| > | Date: Tue, 16 Aug 2005 01:06:16 GMT
| > | Path:
| >
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfee d00.sul.t-online.de!t-onli
| >
ne.de!newshub.sdsu.edu!newsfeed.news2me.com!newsfe ed2.easynews.com!easynews.
| > com!easynews!easynews-local!fe02.news.easynews.com.POSTED!not-for-mail
| > | Xref: TK2MSFTNGXA01.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:118141
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > |
| > | =?Utf-8?B?TVNHIFNlcnZpY29zIGRlIEluZm9ybWF0aWNh?=
| > <me*****@newsgroup.nospam>
| > | wrote in news:0C**********************************@microsof t.com:
| > |
| > | > And if I do not have internet connection in my intranet where the
| > | > application is running? How would I reach
| > | > "http://schemas.microsoft.com/cdo/configuration/" ?
| > |
| > | It's an (xml) schema... not an actual URL.
| > |
| > | --
| > | Lucas Tam (RE********@rogers.com)
| > | Please delete "REMOVE" from the e-mail address when replying.
| > | http://members.ebay.com/aboutme/coolspot18/
| > |
| >
| >
|

Nov 19 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.