Send an SMTP message from a windows 2000 server to exchang..

Jim

Distinguished
Mar 31, 2004
2,444
0
19,780
Archived from groups: microsoft.public.win2000.general (More info?)

I've got a Windows 2000 Server that I would like to send an smtp message from
to an Exchange 2000 server.

The smtp message never reaches the smtp server. What is causing the smtp
message from never reaching the Exchange server?
 

enkidu

Distinguished
Feb 28, 2002
251
0
18,780
Archived from groups: microsoft.public.win2000.general (More info?)

Jim wrote:
>
> I've got a Windows 2000 Server that I would like to send
> an smtp message from to an Exchange 2000 server.
>
> The smtp message never reaches the smtp server. What is
> causing the smtp message from never reaching the Exchange
> server?
>
It's difficult to tell - not enough information. How exactly
are you sending the message? Do you get any error messages?

Test basic smtp connectivity by opening a command prompt and
typing 'telnet <exchange server> 25' and you should see a
banner from the exchange server. (Substitute your Exchange
Server name or IP above of course)

Let us know what happens and what tests you have done.

Cheers,

Cliff

--

Barzoomian the Martian - http://barzoomian.blogspot.com
 

Jim

Distinguished
Mar 31, 2004
2,444
0
19,780
Archived from groups: microsoft.public.win2000.general (More info?)

I've been able to send email via smtp on my local computer - windows 2000
workstation to Exchange Server where the email is then processed by the
exchange server. So I don't beleave the problem resides on the Exchange
Server.
I have used telnet <server> 25 and was able to connect to the Exchange
Server, but did not go past that.

Where the issue resides is on the Windows 2000 Server that hosts the Oracle
database that has a utility called utl_smtp that is built to send emails via
smtp to an smtp complient server. I've talked to another person who has
oracle and they ran the utl_smtp code and had no problems transmitting the
email. So the problem with sending the email resides on the Oracle Windows
2000 Server - something is blocking the transmission of the email.

What is blocking the SMTP email message?

"Enkidu" wrote:

> Jim wrote:
> >
> > I've got a Windows 2000 Server that I would like to send
> > an smtp message from to an Exchange 2000 server.
> >
> > The smtp message never reaches the smtp server. What is
> > causing the smtp message from never reaching the Exchange
> > server?
> >
> It's difficult to tell - not enough information. How exactly
> are you sending the message? Do you get any error messages?
>
> Test basic smtp connectivity by opening a command prompt and
> typing 'telnet <exchange server> 25' and you should see a
> banner from the exchange server. (Substitute your Exchange
> Server name or IP above of course)
>
> Let us know what happens and what tests you have done.
>
> Cheers,
>
> Cliff
>
> --
>
> Barzoomian the Martian - http://barzoomian.blogspot.com
>
 

enkidu

Distinguished
Feb 28, 2002
251
0
18,780
Archived from groups: microsoft.public.win2000.general (More info?)

Hi Jim,

The telnet shows that the server can connect to the Exchange
Server, so that eliminates any connectivity issues.

Have a look at this, which gives a stepwise guide to testing
a mail server with telnet.
http://support.microsoft.com/?kbid=153119

As you say, it doesn't seem that the problem is at the
Exchange server end, but that wasn't what the test was
intended for. I asked you to do the test because if there
were connectivity problems, they would have shown up.

To completely eliminate the Exchange Server from the
equation I would still follow through the telnet steps to
see if the machine can actually send mail through the
Exchange Server - it may think that you are trying to relay
through it or something.

If you eliminate the Exchange Server, the problem has to be
the utl_smtp program, in which case you might have better
luck on an Oracle forum.

One gotcha with this type of SMTP program is that the
program send SMTP commands to the server, and if the server
is contactable the return code of each command is *always*
zero signifying a success. The SMTP server *then* sends
messages to the program, such as 220, 500, etc, which
indicate the result of the SMTP server executing the
command. I'd expect the Oracle program to do things
properly, but once the mail is completed (by a line with
only "." on it) then SMTP part of Exchange passes the
message to the rest of Exchange, which has its own rules and
may drop the email silently. That's why a complete telnet
test is so useful.

But as I said, you may have more luck on am Oracle forum. If
you do the SMTP test let us know what happens. Be aware that
communicating with an SMTP through telnet is unforgiving.
You can't correct a line of input easily. You may also not
see what you are typing. It can be frustrating, but is so
useful!

Cheers,

Cliff

Jim wrote:
> I've been able to send email via smtp on my local computer - windows 2000
> workstation to Exchange Server where the email is then processed by the
> exchange server. So I don't beleave the problem resides on the Exchange
> Server.
> I have used telnet <server> 25 and was able to connect to the Exchange
> Server, but did not go past that.
>
> Where the issue resides is on the Windows 2000 Server that hosts the Oracle
> database that has a utility called utl_smtp that is built to send emails via
> smtp to an smtp complient server. I've talked to another person who has
> oracle and they ran the utl_smtp code and had no problems transmitting the
> email. So the problem with sending the email resides on the Oracle Windows
> 2000 Server - something is blocking the transmission of the email.
>
> What is blocking the SMTP email message?
>
> "Enkidu" wrote:
>
>
>>Jim wrote:
>> >
>>
>>>I've got a Windows 2000 Server that I would like to send
>>
>> > an smtp message from to an Exchange 2000 server.
>>
>>>The smtp message never reaches the smtp server. What is
>>
>> > causing the smtp message from never reaching the Exchange
>> > server?
>> >
>>It's difficult to tell - not enough information. How exactly
>>are you sending the message? Do you get any error messages?
>>
>>Test basic smtp connectivity by opening a command prompt and
>>typing 'telnet <exchange server> 25' and you should see a
>>banner from the exchange server. (Substitute your Exchange
>>Server name or IP above of course)
>>
>>Let us know what happens and what tests you have done.
>>

--

Barzoomian the Martian - http://barzoomian.blogspot.com