IIS and SMTP - "C:\Inetpub\mailroot\Queue" - SCRIPT SOURCE included

This is Interesting: Free IT Magazines  
Home > Archive > IIS and SMTP > December 2004 > "C:\Inetpub\mailroot\Queue" - SCRIPT SOURCE included





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author "C:\Inetpub\mailroot\Queue" - SCRIPT SOURCE included
Uncle Ben

2004-12-18, 7:47 am

I'm running Windows 2000 Professional. Below is a simple VBS that I wrote
to send e-mail. For some reason, after executing it, an .EML file is
created in "C:\Inetpub\mailroot\Queue" but it will not send.

What should I do to make it send??

Thank you!


'BEGIN SCRIPT

Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Test"
objMessage.Sender = "admin@nospam.com"
objMessage.To = "myemail@myplace.com"
objMessage.TextBody = "This is a test."
objMessage.Send

'END SCRIPT


Uncle Ben

2004-12-18, 7:47 am

From the Event Viewer:

"Message delivery to the remote domain 'myplace.com' failed for the
following reason: Unable to bind to the destination server in DNS. "

How do I fix this?


> I'm running Windows 2000 Professional. Below is a simple VBS that I wrote
> to send e-mail. For some reason, after executing it, an .EML file is
> created in "C:\Inetpub\mailroot\Queue" but it will not send.
>
> What should I do to make it send??
>
> Thank you!
>
>
> 'BEGIN SCRIPT
>
> Set objMessage = CreateObject("CDO.Message")
> objMessage.Subject = "Test"
> objMessage.Sender = "admin@nospam.com"
> objMessage.To = "myemail@myplace.com"
> objMessage.TextBody = "This is a test."
> objMessage.Send
>
> 'END SCRIPT



Jeff Cochran

2004-12-18, 5:48 pm

On Sat, 18 Dec 2004 07:25:00 -0500, "Uncle Ben" <spamfree@nospam.com>
wrote:

>From the Event Viewer:
>
>"Message delivery to the remote domain 'myplace.com' failed for the
>following reason: Unable to bind to the destination server in DNS. "
>
>How do I fix this?


Correct your DNS so it can find the destination server. Try a
NSlookup of the MX record for the destination to test.

Jeff

>


Uncle Ben

2004-12-18, 5:48 pm

Can you tell me where I can correct my DNS?


"Jeff Cochran" <jeff.nospam@zina.com> wrote in message
news:41c475c0.227751829@msnews.microsoft.com...
> On Sat, 18 Dec 2004 07:25:00 -0500, "Uncle Ben" <spamfree@nospam.com>
> wrote:
>
>
> Correct your DNS so it can find the destination server. Try a
> NSlookup of the MX record for the destination to test.
>
> Jeff
>
wrote[vbcol=seagreen]
>



Jeff Cochran

2004-12-18, 5:48 pm

On Sat, 18 Dec 2004 15:48:25 -0500, "Uncle Ben" <spamfree@nospam.com>
wrote:

>Can you tell me where I can correct my DNS?


It's your DNS client, in Network Connections, Local Connection, TCP/IP
Properties...

Ensure the DNS server you have designated allows the resolution of the
destination. Use NSlookup to test. For info on DNS and NSLookup, try
the DNS groups.

Jeff

>"Jeff Cochran" <jeff.nospam@zina.com> wrote in message
>news:41c475c0.227751829@msnews.microsoft.com...
>wrote
>


Uncle Ben

2004-12-18, 5:48 pm

Thank you. DNS has been set and NSLOOKUP.EXE is reporting successfully.

But the *.EML is still not sending and is still sitting in the queue with
the same Event log entry.

Any other suggestions?

Thank you.

"Jeff Cochran" <jeff.nospam@zina.com> wrote in message
news:41c49e16.238076586@msnews.microsoft.com...
> On Sat, 18 Dec 2004 15:48:25 -0500, "Uncle Ben" <spamfree@nospam.com>
> wrote:
>
>
> It's your DNS client, in Network Connections, Local Connection, TCP/IP
> Properties...
>
> Ensure the DNS server you have designated allows the resolution of the
> destination. Use NSlookup to test. For info on DNS and NSLookup, try
> the DNS groups.
>
> Jeff
>
is[vbcol=seagreen]
>



Jeff Cochran

2004-12-19, 2:46 am

X-Newsreader: Forte Agent 1.5/32.451
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: microsoft.public.inetserver.iis,microsoft.public.inetserver.iis.smtp_nntp
NNTP-Posting-Host: pcp01555082pcs.gdlett01.fl.comcast.net 68.54.47.60
Path: TK2MSFTNGP08.phx.gbl!TK2MSFTNGP14.phx.gbl
Lines: 1
Xref: TK2MSFTNGP08.phx.gbl microsoft.public.inetserver.iis.smtp_nntp:11003 microsoft.public.inetserver.iis:327872

On Sat, 18 Dec 2004 17:49:02 -0500, "Uncle Ben" <spamfree@nospam.com>
wrote:

>Thank you. DNS has been set and NSLOOKUP.EXE is reporting successfully.
>
>But the *.EML is still not sending and is still sitting in the queue with
>the same Event log entry.
>
>Any other suggestions?


Are you running SMTP on the same server? Microsoft's? Have you
tested it?

See:

HOW TO: Test Windows 2000 IIS SMTP Services Manually
http://support.microsoft.com/defaul...kb;en-us;286421
HOW TO: Test SMTP Services Manually in Windows Server 2003
http://support.microsoft.com/defaul...kb;en-us;323350

Jeff

>
>Thank you.
>
>"Jeff Cochran" <jeff.nospam@zina.com> wrote in message
>news:41c49e16.238076586@msnews.microsoft.com...
>is
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com