IIS and SMTP - Using SMTP to send email??

This is Interesting: Free IT Magazines  
Home > Archive > IIS and SMTP > February 2004 > Using SMTP to send email??





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 Using SMTP to send email??
Marc Bressman

2004-02-01, 5:34 pm

Ok...after several hours of fooling around, its apparent that I'm an idiot
and completely don't understand how the Internet works. I'd think that in
order to send email, you'd set up this IIS SMTP Virtual Server and this
would allow a computer connected to the internet to send email (I'm
connected via a Road Runner Cable Modem). So, at this point, I've gotten it
where the email that I send (either via my movable type blog hosted on the
same computer or how this article highlights testing:
http://support.microsoft.com/defaul...kb;en-us;286421) ends up in
the C:\inetpub\mailroot\Queue folder. But then nothing more seems to
happen? What am I missing here that allows these emails to be delivered to
the email addresses their meant for...or is this impossible without
something else. I'm basically looking for a solution that won't require me
spending any more money (on some type of 3rd party service or something),
but I'm not sure if thats possible? Any help here is greatly appreciated!!

Thanks,

- marc


Kirill S. Palagin

2004-02-02, 1:36 am

At command prompt of your SMTP machine run
telnet maila.microsoft.com 25
Do you get something like
220 inet-imc-01.redmond.corp.microsoft.com Microsoft.com ESMTP Server Mon, 2 Feb
2004 06:58:55 -0800


Marc Bressman wrote:
quote:

> Ok...after several hours of fooling around, its apparent that I'm an idiot
> and completely don't understand how the Internet works. I'd think that in
> order to send email, you'd set up this IIS SMTP Virtual Server and this
> would allow a computer connected to the internet to send email (I'm
> connected via a Road Runner Cable Modem). So, at this point, I've gotten it
> where the email that I send (either via my movable type blog hosted on the
> same computer or how this article highlights testing:
> http://support.microsoft.com/defaul...kb;en-us;286421) ends up in
> the C:\inetpub\mailroot\Queue folder. But then nothing more seems to
> happen? What am I missing here that allows these emails to be delivered to
> the email addresses their meant for...or is this impossible without
> something else. I'm basically looking for a solution that won't require me
> spending any more money (on some type of 3rd party service or something),
> but I'm not sure if thats possible? Any help here is greatly appreciated!!
>
> Thanks,
>
> - marc



Rick Lemons

2004-02-02, 4:35 am

Make sure logging is turned on and check your SMTP service log file. There
might be something in there to tell you what happened. If the message is in
the queue folder there must have been an attempt to send it. Otherwise you'd
think it would still be in the pickup folder.





"Marc Bressman" <mbressman@nixonpeabody.com> wrote in message
news:%23udagaV6DHA.2044@TK2MSFTNGP10.phx.gbl...
quote:

> Ok...after several hours of fooling around, its apparent that I'm an idiot
> and completely don't understand how the Internet works. I'd think that in
> order to send email, you'd set up this IIS SMTP Virtual Server and this
> would allow a computer connected to the internet to send email (I'm
> connected via a Road Runner Cable Modem). So, at this point, I've gotten


it
quote:

> where the email that I send (either via my movable type blog hosted on the
> same computer or how this article highlights testing:
> http://support.microsoft.com/defaul...kb;en-us;286421) ends up in
> the C:\inetpub\mailroot\Queue folder. But then nothing more seems to
> happen? What am I missing here that allows these emails to be delivered


to
quote:

> the email addresses their meant for...or is this impossible without
> something else. I'm basically looking for a solution that won't require


me
quote:

> spending any more money (on some type of 3rd party service or something),
> but I'm not sure if thats possible? Any help here is greatly


appreciated!!
quote:

>
> Thanks,
>
> - marc
>
>




Marc Bressman

2004-02-03, 1:36 pm

Checking the System Logs for the machine in the event viewer, I see errors
similar to this:

Source: SMTPSVC
Type: Warning
Computer: <the local machine where I'm running the SMTP Virtual Server>
Category: None
Event ID: 4000

Description:
Message delivery to the remote domain 'rochester.edu' <or other domains that
I've attempted to send email to and/or have email pretend its coming from>
failed for the following reason: An internal DNS error caused a failure to
find the remote server.


It was working a few days ago...I was getting email sent to my email account
that I attempted to send via a web-based form (on this same computer) and
via telnet <computer-name> 25 commands. Any idea why its now just sitting
in the queue??

Any help is greatly appreciated! Thanks!

- marc


"Rick Lemons" <rickx@cdldata.com> wrote in message
news:eV$qHDb6DHA.2568@TK2MSFTNGP10.phx.gbl...
quote:

> Make sure logging is turned on and check your SMTP service log file. There
> might be something in there to tell you what happened. If the message is


in
quote:

> the queue folder there must have been an attempt to send it. Otherwise


you'd
quote:

> think it would still be in the pickup folder.
>
>
>
>
>
> "Marc Bressman" <mbressman@nixonpeabody.com> wrote in message
> news:%23udagaV6DHA.2044@TK2MSFTNGP10.phx.gbl...
idiot[QUOTE][color=darkred]
in[QUOTE][color=darkred]
gotten[QUOTE][color=darkred]
> it
the[QUOTE][color=darkred]
in[QUOTE][color=darkred]
> to
> me
something),[QUOTE][color=darkred]
> appreciated!!
>
>




Marc Bressman

2004-02-04, 8:35 pm

I think I've solved the problem!! It appears that if I take the DNS servers
that are automatically set on the router (which pulls its IP address and
other info from the cable modem ISP) and set those as the DNS servers for
the Local Area Connection for the Win2000 Server (under Network and Dial-Up
Connections), then mail sent using the IIS SMTP Virtual Server gets
delivered! Any idea why this works and if I don't set these DNS servers and
have the Win2000 server use the router's DNS servers (192.168.0.1), why it
doesn't work? Any workaround to this (I'm just afraid that if I change
ISP's, I'll forget to update the DNS servers here and then no mail will get
delivered)? Can someone also check me and make sure this solution makes
logical sense and actually will continue to work?

Thanks!!

- marc


"Marc Bressman" <mbressman@nixonpeabody.com> wrote in message
news:%23udagaV6DHA.2044@TK2MSFTNGP10.phx.gbl...
quote:

> Ok...after several hours of fooling around, its apparent that I'm an idiot
> and completely don't understand how the Internet works. I'd think that in
> order to send email, you'd set up this IIS SMTP Virtual Server and this
> would allow a computer connected to the internet to send email (I'm
> connected via a Road Runner Cable Modem). So, at this point, I've gotten


it
quote:

> where the email that I send (either via my movable type blog hosted on the
> same computer or how this article highlights testing:
> http://support.microsoft.com/defaul...kb;en-us;286421) ends up in
> the C:\inetpub\mailroot\Queue folder. But then nothing more seems to
> happen? What am I missing here that allows these emails to be delivered


to
quote:

> the email addresses their meant for...or is this impossible without
> something else. I'm basically looking for a solution that won't require


me
quote:

> spending any more money (on some type of 3rd party service or something),
> but I'm not sure if thats possible? Any help here is greatly


appreciated!!
quote:

>
> Thanks,
>
> - marc
>
>




Andy Larkum

2004-02-17, 3:35 am



Ah man, so glad you've had this problem!!! It's been driving me crazy.
I've got a w2k server with IIS 5.0 running, which up until recently was
working fine, but the site managers have stopped outgoing connections on
port 25.

Now, my server is apparently set up to with an smtp server address, but
it still seems to be trying to send mail itself. I get loads of SMTPSVC
errors, ID 4000.

Can anyone tell me what I'm doing wrong

Thanks

Andy

*** Sent via Developersdex http://www.examnotes.net ***
Don't just participate in USENET...get rewarded for it!
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com