473,513 Members | 4,001 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CDO SDNI connection not authorized

I have implemented typical CDO code found here. It works at home, but not in
my client's highly secure network. Here's the error message:

"The message could not be sent to the SMTP server.
The transport error code was 0x800ccc6f. The server response was 554 5.7.1
GATE8-SDNI Connection not authorized.

Any ideas, suggestions, help is appreciated.

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200610/1

Oct 12 '06 #1
13 3729
"rdemyan via AccessMonster.com" <u6836@uwewrote in
news:67a124d0a5af2@uwe:
I have implemented typical CDO code found here. It works at home,
but not in my client's highly secure network. Here's the error
message:

"The message could not be sent to the SMTP server.
The transport error code was 0x800ccc6f. The server response was
554 5.7.1 GATE8-SDNI Connection not authorized.

Any ideas, suggestions, help is appreciated.
The firewall is not allowing traffic on the port you're using.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Oct 12 '06 #2
Thanks, for the response David.

How can I figure out which port I can use?

David W. Fenton wrote:
>I have implemented typical CDO code found here. It works at home,
but not in my client's highly secure network. Here's the error
[quoted text clipped - 5 lines]
>>
Any ideas, suggestions, help is appreciated.

The firewall is not allowing traffic on the port you're using.
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200610/1

Oct 12 '06 #3
rdemyan via AccessMonster.com wrote:
I have implemented typical CDO code found here. It works at home, but not in
my client's highly secure network. Here's the error message:

"The message could not be sent to the SMTP server.
The transport error code was 0x800ccc6f. The server response was 554 5.7.1
GATE8-SDNI Connection not authorized.

Any ideas, suggestions, help is appreciated.

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200610/1
If your machine has Outlook Express and an account in OE that works for
sending e-mail then (again) if you don't specify a sender or password
or smtp server CDO should/may/does for me default to that account and
has the same permissions.
Otherwise I suppose one has to open one's firewall and tell it to allow
CDO to go. The log should show when and how and what specifically was
blocked.

Oct 12 '06 #4
I don't know anything about ports, so here's probably a stupid question.

Why can't I just use the same port that users use to send e-mail from Outlook?
Lyle Fairfield wrote:
>I have implemented typical CDO code found here. It works at home, but not in
my client's highly secure network. Here's the error message:
[quoted text clipped - 8 lines]
>Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200610/1

If your machine has Outlook Express and an account in OE that works for
sending e-mail then (again) if you don't specify a sender or password
or smtp server CDO should/may/does for me default to that account and
has the same permissions.
Otherwise I suppose one has to open one's firewall and tell it to allow
CDO to go. The log should show when and how and what specifically was
blocked.
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200610/1

Oct 12 '06 #5
"rdemyan via AccessMonster.com" <u6836@uwewrote in
news:67a3473481e21@uwe:
I don't know anything about ports, so here's probably a stupid
question.

Why can't I just use the same port that users use to send e-mail from
Outlook?
It's likely 25 ? that is used to send mail. Your security/firewall may
allow Outlook to pass through but not other apps. My !!!!!guess!!!!! is
that you have to tell it (the firewall) to let CDO pass. Firewalls etc are
definitely not an area of expertise for me so I hope someone else can jummp
in here.

--
Lyle Fairfield
Oct 12 '06 #6
IT will never allow it and I don't want to bring it up.

The reason I'm using CDO is to get around the Outlook security issue that
brings up a message every time an e-mail is generated. I'm doing a "mass" e-
mail to to individuals in the company (up to 100) and providing them with
customized reports (to be clear this is not spam).

I saw a post where someone created the e-mails and stored them in the
'Drafts' folder of Outlook. Never thought about doing this. But if I could
do that and if the sender could then send all of the emails contained in the
Drafts folder with one click that would work (I've never tried that so I
don't even know if it is possible).

Lyle Fairfield wrote:
>I don't know anything about ports, so here's probably a stupid
question.

Why can't I just use the same port that users use to send e-mail from
Outlook?

It's likely 25 ? that is used to send mail. Your security/firewall may
allow Outlook to pass through but not other apps. My !!!!!guess!!!!! is
that you have to tell it (the firewall) to let CDO pass. Firewalls etc are
definitely not an area of expertise for me so I hope someone else can jummp
in here.
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200610/1

Oct 12 '06 #7
rdemyan via AccessMonster.com wrote:
IT will never allow it and I don't want to bring it up.

The reason I'm using CDO is to get around the Outlook security issue that
brings up a message every time an e-mail is generated. I'm doing a "mass" e-
mail to to individuals in the company (up to 100) and providing them with
customized reports (to be clear this is not spam).

I saw a post where someone created the e-mails and stored them in the
'Drafts' folder of Outlook. Never thought about doing this. But if I could
do that and if the sender could then send all of the emails contained in the
Drafts folder with one click that would work (I've never tried that so I
don't even know if it is possible).
Well, automating Outlook may be a solution. I find that Outlook
frequently invents new barriers to be hurdled when it is used in that
way.

If I were doing this I would read up on Telnet
eg
http://weblogs.asp.net/owscott/archi...15/394681.aspx
http://www.activexperts.com/activemail/telnet/

and test the values I am using in my CDO code in a Command Prompt (DOS)
window using those examples first.

Oct 12 '06 #8
I took your advice and learned that I need to use port 587. Now I can send e-
mails without authentication. However, I've also discovered that the server
is rejecting any e-mail addresses outside the company.

I'm still planning to include an option to use Outlook, because who knows
what IT might do in the future.

Thanks.

Lyle Fairfield wrote:
>IT will never allow it and I don't want to bring it up.
[quoted text clipped - 8 lines]
>Drafts folder with one click that would work (I've never tried that so I
don't even know if it is possible).

Well, automating Outlook may be a solution. I find that Outlook
frequently invents new barriers to be hurdled when it is used in that
way.

If I were doing this I would read up on Telnet
eg
http://weblogs.asp.net/owscott/archi...15/394681.aspx
http://www.activexperts.com/activemail/telnet/

and test the values I am using in my CDO code in a Command Prompt (DOS)
window using those examples first.
--
Message posted via http://www.accessmonster.com

Oct 12 '06 #9
"rdemyan via AccessMonster.com" <u6836@uwewrote in
news:67a8d825cb299@uwe:
I'm still planning to include an option to use Outlook, because who
knows what IT might do in the future.
Years ago I had an app that sent e-mails (in-house) via Outlook. Before it
did so it verfied addresses in the big system address or contact list. Then
came the Melissa virus. To baffle Melissa, IT entered twenty totally blank
addresses into the list. Pow! The e-mailing part of my application blew up!
And it was MY fault! Just ask IT and they'll confirm that.

So I fixed that. Later they did something (not sure what) to insert
"mail." after "@" in all in-house addresses. They didn't tell anybody, of
course. Again my application failed and again, it was MY fault.

After that I started to use CDO and I searched around and found some SMTP
servers that were totally open. I don't think such things exist any more.

--
Lyle Fairfield
Oct 12 '06 #10
As I mentioned in my previous post, authentication is not required. Is there
a way that I can get the SMTP Server by using code. The actual string is
fairly long and no one will ever remember it. Also, it can change depending
upon location of the user trying to send the email. Right now, I've been
going into Outlook and finding it there and then essentially copying and
pasting the string into a pop up form that I display for the user to enter
the SMTP Server address. It's a hassle and if there is a relatively
straightforward way to get the SMTP server in code and not bother the user
with entering it, that would be nice.

Thanks for any help, suggestions, etc.

Lyle Fairfield wrote:
>I'm still planning to include an option to use Outlook, because who
knows what IT might do in the future.

Years ago I had an app that sent e-mails (in-house) via Outlook. Before it
did so it verfied addresses in the big system address or contact list. Then
came the Melissa virus. To baffle Melissa, IT entered twenty totally blank
addresses into the list. Pow! The e-mailing part of my application blew up!
And it was MY fault! Just ask IT and they'll confirm that.

So I fixed that. Later they did something (not sure what) to insert
"mail." after "@" in all in-house addresses. They didn't tell anybody, of
course. Again my application failed and again, it was MY fault.

After that I started to use CDO and I searched around and found some SMTP
servers that were totally open. I don't think such things exist any more.
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200610/1

Oct 12 '06 #11
"rdemyan via AccessMonster.com" <u6836@uwewrote in
news:67a2c78a0743c@uwe:
David W. Fenton wrote:
>>I have implemented typical CDO code found here. It works at
home, but not in my client's highly secure network. Here's the
error
[quoted text clipped - 5 lines]
>>>
Any ideas, suggestions, help is appreciated.

The firewall is not allowing traffic on the port you're using.

How can I figure out which port I can use?
You'll have to ask the sysadmin in charge of the firewall.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Oct 12 '06 #12
"rdemyan via AccessMonster.com" <u6836@uwewrote in
news:67a2c78a0743c@uwe:
How can I figure out which port I can use?
Having read through your replies to Lyle, I wonder what SMTP server
you are connecting to? Perhaps your firewall is blocking access to
that particular SMTP server on Port 25.

I wonder why you're attempting what you're doing. Why can't you use
your company's SMTP server? If you don't do that, then your messages
are likely going to be treated as spam, which could cause major
problems for your company, since they will look like they are coming
from the same IP address as the whole of your company network.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Oct 12 '06 #13
rdemyan via AccessMonster.com wrote:
As I mentioned in my previous post, authentication is not required. Is there
a way that I can get the SMTP Server by using code. The actual string is
fairly long and no one will ever remember it. Also, it can change depending
upon location of the user trying to send the email. Right now, I've been
going into Outlook and finding it there and then essentially copying and
pasting the string into a pop up form that I display for the user to enter
the SMTP Server address. It's a hassle and if there is a relatively
straightforward way to get the SMTP server in code and not bother the user
with entering it, that would be nice.

Thanks for any help, suggestions, etc.

Lyle Fairfield wrote:
I'm still planning to include an option to use Outlook, because who
knows what IT might do in the future.
Years ago I had an app that sent e-mails (in-house) via Outlook. Before it
did so it verfied addresses in the big system address or contact list. Then
came the Melissa virus. To baffle Melissa, IT entered twenty totally blank
addresses into the list. Pow! The e-mailing part of my application blew up!
And it was MY fault! Just ask IT and they'll confirm that.

So I fixed that. Later they did something (not sure what) to insert
"mail." after "@" in all in-house addresses. They didn't tell anybody, of
course. Again my application failed and again, it was MY fault.

After that I started to use CDO and I searched around and found some SMTP
servers that were totally open. I don't think such things exist any more.
I'm running out of ideas but here's my take on SMTP servers.

1. My website FFDBA.com has an SMTP server assoicated with it. I can
send e-mail from my local machine with CDO specifying it, the port(25)
and my username and password.
2. I use Cogeco.Ca as my ISP. As long as I am hooked up through them I
don't have to specify any of the things I mentioned in #1. My machine
is recognized as a valid connection and CDO sends e-mails directly
through smtp.cogeco.ca; but when I'm in Vancouver I can't connect
through Cogeco and then I must provide all that information.
3. I have a paid Yahoo e-mail account. I can send e-mail through it
using the logon Password etc, and Port 587 which is not the default,
25.
4. I have a free Aim/AOL account. I can use its smtp server from
anywhere to send e-mail with CDO if I have the requisite logons.
5. When I was running IIS servvices on my work station I could send
using its SMTP, that is my machine was its own server, but I don't run
IIS any more.

Those examples pretty much show what I know ....

Oct 12 '06 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1966
by: avneesh rathor | last post by:
Dear all, The problem i faced is like this. I installed oracle7.3 on HP unix 10.2. Oracle is running fine but when i tried to open SQLMENU50 and logined as some user user/user . It is not able to even login. The error message is::"user is not authorized to use sqlmenu*50". But i am able to login through SQLPLUS user/user.
2
6745
by: Aprochko | last post by:
Attempting to access outlook from C# .NET ASP app. Have added reference to COM Microsoft Outlook 11 Object Library. Have included using System.Runtime.InteropServices; using System.Web.Mail; using Microsoft.Office; using Microsoft.Office.Interop; using Microsoft.Office.Interop.Outlook; using Microsoft.Office.Core;
1
4122
by: Dave | last post by:
I am trying to connect our new Crystal Reports 10 software to the mainframe DB2 v7.1 and keep receiving the following error: Query Engine Error:'42884; SQL0440N No authorized routine named "SQLTABLES" of type "" having compatible arguments was found. SQLSTATE=42884. I can connect to this database using ODBC with Microsoft Access 2003 and...
16
2286
by: peshekeedweller | last post by:
Using asp.net 1.1. vb.net 2003. I am trying to connect to a remote sql server 2000 on a virtual machine running windows 2000 server. I can connect through the server explorer in visual studio, but cannot connect through code. I have done it before and can not do it now; I don't know what changed. (I also cannot connect to local Access...
4
3374
by: Gaetan | last post by:
I just cannot read any more MSDN articles on IIS6 and ASP.Net authentication ... everything is blurry now, tanks to old eyes. Here is a topo of my environment: - W2K3 SP1 (IIS 6) - Web site is a virtual directory under Default Web Site - Web site is configured with "Integrated Windows Authentication" and the "Enable
9
5699
by: Not Me | last post by:
Hi, I'm using asp.net 2 with an sql server 2000 database. What steps if any, must I take to ensure connection pooling efficiently? for any 'manual' connections made, I open the sqlconnection obtaining the connection string from configurationmanager.connectionstrings, and close the connection as soon as it's been finished with. I...
3
263
by: Garikayi Mukombachoto | last post by:
I desparately need assistance in connecting to a progress database. Could some one please assist or provide pointers thanks in advance.
3
4297
by: ssg31415926 | last post by:
I'm getting the error: "Unable to open the Web 'http://blah/blahblah'. You are not authorized to perform the current operation". I have changed a few things recently but I can't change them back as I need them. I can't find anything about it using searches. Yesterday, I removed the "Enable anonymous access" option from my web (within the...
2
2015
by: techno01 | last post by:
Hi, I am new in ASP and I just created a website in Visual Studio 2005. I only want a group that have access to this website. I also created a security group in AD. I am also using SQL Server 2005 for this website using ASP forms. How do I set up the permissions so when users click on this site the page will launch "You are not authorized to view...
0
7270
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7397
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7563
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7125
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5703
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5102
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4757
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3239
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1612
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.