Thursday, March 29, 2012

Newbie - Problem Sending an email via .NET

Hello,

I am tring to send an email from my local machine (acting as a web server)
on my company's network.

For simplicity sake, I just want to send an email to myself. But I cannot
seem to configure this correctly. Either nothing happens at all, no errors
and no email, but the code seems to run OK, or I get an error saying it
cannot find the Server.

Here's the code:

Public Shared Sub SendEmailToMe()
Dim from As String = "myself@dotnet.itags.org.here.com
Dim mailto As String = "myself@dotnet.itags.org.here.com"
Dim subject As String = "Test Message"
Dim body As String = "Test the body message"

SmtpMail.SmtpServer = "localhost" 'I've tried my IP address and what I think
is my SMTP is, but I'm not sure

SmtpMail.Send(from, mailto, subject, body)

End Sub

My assumption is that I do not have the SMTPServer configured correctly. But
that is just a guess.
Any insight is greatly appreciated.

Thanks.

-RobTry :

http://support.microsoft.com/defaul...kb;en-us;308161

--

"Rob G" <gumbatman@.hotmail.com> a crit dans le message de
news:10doikcrc0sgsc4@.corp.supernews.com...
> Hello,
> I am tring to send an email from my local machine (acting as a web server)
> on my company's network.
> For simplicity sake, I just want to send an email to myself. But I cannot
> seem to configure this correctly. Either nothing happens at all, no errors
> and no email, but the code seems to run OK, or I get an error saying it
> cannot find the Server.
> Here's the code:
>
> Public Shared Sub SendEmailToMe()
> Dim from As String = "myself@.here.com
> Dim mailto As String = "myself@.here.com"
> Dim subject As String = "Test Message"
> Dim body As String = "Test the body message"
> SmtpMail.SmtpServer = "localhost" 'I've tried my IP address and what I
think
> is my SMTP is, but I'm not sure
> SmtpMail.Send(from, mailto, subject, body)
> End Sub
> My assumption is that I do not have the SMTPServer configured correctly.
But
> that is just a guess.
> Any insight is greatly appreciated.
> Thanks.
> -Rob
>
>Public Shared Sub SendEmailToMe()
> Dim from As String = "myself@.here.com
>Dim mailto As String = "myself@.here.com"
>Dim subject As String = "Test Message"
>Dim body As String = "Test the body message"
>SmtpMail.SmtpServer = "localhost" 'I've tried my IP address and what I think
>is my SMTP is, but I'm not sure
>SmtpMail.Send(from, mailto, subject, body)
>End Sub
>My assumption is that I do not have the SMTPServer configured correctly. But
>that is just a guess.
>Any insight is greatly appreciated.
>Thanks.
>-Rob

Where does it exception? What is the exception message?, do you have
the iis smtp relay server running? Can you see the mail anywhere in
inetpub/mailroot/?

-Adam
Just now, I found the emails in the C:\Inetpub\mailroot\Queue directory.

<ashelley@.inlandkwpp.com> wrote in message
news:l3jod0peeo7b9q0bcdfv43515v28l250pe@.4ax.com...
> >Public Shared Sub SendEmailToMe()
> > Dim from As String = "myself@.here.com
> >Dim mailto As String = "myself@.here.com"
> >Dim subject As String = "Test Message"
> >Dim body As String = "Test the body message"
> >SmtpMail.SmtpServer = "localhost" 'I've tried my IP address and what I
think
> >is my SMTP is, but I'm not sure
> >SmtpMail.Send(from, mailto, subject, body)
> >End Sub
> >My assumption is that I do not have the SMTPServer configured correctly.
But
> >that is just a guess.
> >Any insight is greatly appreciated.
> >Thanks.
> >-Rob
> Where does it exception? What is the exception message?, do you have
> the iis smtp relay server running? Can you see the mail anywhere in
> inetpub/mailroot/?
> -Adam
ashelley,

Here's some other stuff I found:

Since I have the SMTP Server running, I no longer get the exception errors.

I walked through the steps to Test Windows 2000 IIS SMTP Services Manually
as per http://support.microsoft.com/defaul...US;286421#Task1
and everything seemed to check out. However, that mail that I sent, when
testing, is still sitting in the Queue directory.

I guess the next step is to figure out why it is not moving from the Queue
to an actual email.

Thanks for your help.

-Rob

<ashelley@.inlandkwpp.com> wrote in message
news:l3jod0peeo7b9q0bcdfv43515v28l250pe@.4ax.com...
> >Public Shared Sub SendEmailToMe()
> > Dim from As String = "myself@.here.com
> >Dim mailto As String = "myself@.here.com"
> >Dim subject As String = "Test Message"
> >Dim body As String = "Test the body message"
> >SmtpMail.SmtpServer = "localhost" 'I've tried my IP address and what I
think
> >is my SMTP is, but I'm not sure
> >SmtpMail.Send(from, mailto, subject, body)
> >End Sub
> >My assumption is that I do not have the SMTPServer configured correctly.
But
> >that is just a guess.
> >Any insight is greatly appreciated.
> >Thanks.
> >-Rob
> Where does it exception? What is the exception message?, do you have
> the iis smtp relay server running? Can you see the mail anywhere in
> inetpub/mailroot/?
> -Adam
On Fri, 25 Jun 2004 12:40:46 -0400, "Rob G" <gumbatman@.hotmail.com>
wrote:

>ashelley,
>Here's some other stuff I found:
>Since I have the SMTP Server running, I no longer get the exception errors.
>I walked through the steps to Test Windows 2000 IIS SMTP Services Manually
>as per http://support.microsoft.com/defaul...US;286421#Task1
>and everything seemed to check out. However, that mail that I sent, when
>testing, is still sitting in the Queue directory.
>I guess the next step is to figure out why it is not moving from the Queue
>to an actual email.
>Thanks for your help.
>-Rob

Since you tested it and it is delivering mail by telnetting to it I
think you might need to look at a few things. delete the stuff in the
queue directory, and just try resending. make sure you use the same
email credentials you used while testing. if you use the same
credentials and it doesn't work maybe it is having problems with
permisions on the directories within mailroot. if it keeps failing,
drive a hammer through the front of your screen and go out and enjoy
the sun.

-Adam
ashelley,

Thanks for your help. I think we are getting closer.

It seems that these queued emails are in the Outbox of Outlook Express (I
expected them to be in Outlook). I can't send anything from Outlook Express
because it wants a dialup connection. I would like it to connect to my LAN,
but I can't figure that one out.

Another hour on this and I am going out into the sun and get some fresh air.

-Rob

<ashelley@.inlandkwpp.com> wrote in message
news:58lod01ogm3ig5s9viuedctdjodqj1k21p@.4ax.com...
> On Fri, 25 Jun 2004 12:40:46 -0400, "Rob G" <gumbatman@.hotmail.com>
> wrote:
> >ashelley,
> >Here's some other stuff I found:
> >Since I have the SMTP Server running, I no longer get the exception
errors.
> >I walked through the steps to Test Windows 2000 IIS SMTP Services
Manually
> >as per
http://support.microsoft.com/defaul...US;286421#Task1
> >and everything seemed to check out. However, that mail that I sent, when
> >testing, is still sitting in the Queue directory.
> >I guess the next step is to figure out why it is not moving from the
Queue
> >to an actual email.
> >Thanks for your help.
> >-Rob
> Since you tested it and it is delivering mail by telnetting to it I
> think you might need to look at a few things. delete the stuff in the
> queue directory, and just try resending. make sure you use the same
> email credentials you used while testing. if you use the same
> credentials and it doesn't work maybe it is having problems with
> permisions on the directories within mailroot. if it keeps failing,
> drive a hammer through the front of your screen and go out and enjoy
> the sun.
> -Adam
On Fri, 25 Jun 2004 13:03:58 -0400, "Rob G" <gumbatman@.hotmail.com>
wrote:

>ashelley,
>Thanks for your help. I think we are getting closer.
>It seems that these queued emails are in the Outbox of Outlook Express (I
>expected them to be in Outlook). I can't send anything from Outlook Express
>because it wants a dialup connection. I would like it to connect to my LAN,
>but I can't figure that one out.

yeah, umm okay, i assume you mean .eml files. They open in outlook
express because of a file association not because they are sent out
using outlook. I'm not particularly sure, in detail, how the relay
thing works.

What i think might be happenning is that it can't send email to the
domain you are trying to send to. are there any logs in
system32/logfiles/ that help us out?

-Adam
Yep, I mean .EML files. Whoops!

I don't see any logs that are appear to be useful.

I think I understand the file association thing with the EML files, but
Outlook Express has the emails sitting in its Outbox. That is why I assumed
Outlook Express would send the emails.

In the meantime, I tried to switch to sending the emails via Outlook
directly (setting up a reference in .NET) and that is giving me problems to.
That returns a "The information store could not be opened." error when it
tries to get the default folder.

-Rob

<ashelley@.inlandkwpp.com> wrote in message
news:cvmod0p63b0qvh62qoep66ao57qu23bmcv@.4ax.com...
> On Fri, 25 Jun 2004 13:03:58 -0400, "Rob G" <gumbatman@.hotmail.com>
> wrote:
> >ashelley,
> >Thanks for your help. I think we are getting closer.
> >It seems that these queued emails are in the Outbox of Outlook Express (I
> >expected them to be in Outlook). I can't send anything from Outlook
Express
> >because it wants a dialup connection. I would like it to connect to my
LAN,
> >but I can't figure that one out.
> yeah, umm okay, i assume you mean .eml files. They open in outlook
> express because of a file association not because they are sent out
> using outlook. I'm not particularly sure, in detail, how the relay
> thing works.
> What i think might be happenning is that it can't send email to the
> domain you are trying to send to. are there any logs in
> system32/logfiles/ that help us out?
> -Adam
Hi Rob,

Outlook/Outlook Express has nothing to do with sending emails from a Net
app. It is a client program which connects to a POP3 server, or Exchange
Server in order to send emails. The .Net app uses an SMTP server, which you
already know you have on your machine. Don't get them confused.

If the email you're sending has a return address which is not local to your
machine, by default, the IIS SMTP server disallows "relaying," which is,
simply, the transmission of an email which did not originate on that machine
(determined by the return email address's domain name). You may need to
configure your local SMTP server to allow relaying. Be aware, however, that
it is turned off for a reason. You may find SPAMmers using your local SMTP
Server, unless you've blocked incoming traffic on Port 25.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Rob G" <gumbatman@.hotmail.com> wrote in message
news:10domo0217j5l85@.corp.supernews.com...
> ashelley,
> Thanks for your help. I think we are getting closer.
> It seems that these queued emails are in the Outbox of Outlook Express (I
> expected them to be in Outlook). I can't send anything from Outlook
Express
> because it wants a dialup connection. I would like it to connect to my
LAN,
> but I can't figure that one out.
> Another hour on this and I am going out into the sun and get some fresh
air.
> -Rob
> <ashelley@.inlandkwpp.com> wrote in message
> news:58lod01ogm3ig5s9viuedctdjodqj1k21p@.4ax.com...
> > On Fri, 25 Jun 2004 12:40:46 -0400, "Rob G" <gumbatman@.hotmail.com>
> > wrote:
> > >ashelley,
> > > >Here's some other stuff I found:
> > > >Since I have the SMTP Server running, I no longer get the exception
> errors.
> > > >I walked through the steps to Test Windows 2000 IIS SMTP Services
> Manually
> > >as per
> http://support.microsoft.com/defaul...US;286421#Task1
> > >and everything seemed to check out. However, that mail that I sent,
when
> > >testing, is still sitting in the Queue directory.
> > > >I guess the next step is to figure out why it is not moving from the
> Queue
> > >to an actual email.
> > > >Thanks for your help.
> > > >-Rob
> > > Since you tested it and it is delivering mail by telnetting to it I
> > think you might need to look at a few things. delete the stuff in the
> > queue directory, and just try resending. make sure you use the same
> > email credentials you used while testing. if you use the same
> > credentials and it doesn't work maybe it is having problems with
> > permisions on the directories within mailroot. if it keeps failing,
> > drive a hammer through the front of your screen and go out and enjoy
> > the sun.
> > -Adam
Kevin,

This is what I've done so far:

Under Default SMTP Virtual Server I went to Properties.
Clicked the Access tab.
Clicked Relay.
I added my local computer's IP address and 127.0.0.1 (just to test becuase I
don't know what I am doing).
"Only the list below " is selected and so is "Allow all computer which
succesfully authenticate..."

Does that make any sense?

Thanks.

-Rob

"Kevin Spencer" <kspencer@.takempis.com> wrote in message
news:ulogESuWEHA.3596@.tk2msftngp13.phx.gbl...
> Hi Rob,
> Outlook/Outlook Express has nothing to do with sending emails from a Net
> app. It is a client program which connects to a POP3 server, or Exchange
> Server in order to send emails. The .Net app uses an SMTP server, which
you
> already know you have on your machine. Don't get them confused.
> If the email you're sending has a return address which is not local to
your
> machine, by default, the IIS SMTP server disallows "relaying," which is,
> simply, the transmission of an email which did not originate on that
machine
> (determined by the return email address's domain name). You may need to
> configure your local SMTP server to allow relaying. Be aware, however,
that
> it is turned off for a reason. You may find SPAMmers using your local SMTP
> Server, unless you've blocked incoming traffic on Port 25.
> --
> HTH,
> Kevin Spencer
> .Net Developer
> Microsoft MVP
> Big things are made up
> of lots of little things.
> "Rob G" <gumbatman@.hotmail.com> wrote in message
> news:10domo0217j5l85@.corp.supernews.com...
> > ashelley,
> > Thanks for your help. I think we are getting closer.
> > It seems that these queued emails are in the Outbox of Outlook Express
(I
> > expected them to be in Outlook). I can't send anything from Outlook
> Express
> > because it wants a dialup connection. I would like it to connect to my
> LAN,
> > but I can't figure that one out.
> > Another hour on this and I am going out into the sun and get some fresh
> air.
> > -Rob
> > <ashelley@.inlandkwpp.com> wrote in message
> > news:58lod01ogm3ig5s9viuedctdjodqj1k21p@.4ax.com...
> > > On Fri, 25 Jun 2004 12:40:46 -0400, "Rob G" <gumbatman@.hotmail.com>
> > > wrote:
> > > > >ashelley,
> > > > > >Here's some other stuff I found:
> > > > > >Since I have the SMTP Server running, I no longer get the exception
> > errors.
> > > > > >I walked through the steps to Test Windows 2000 IIS SMTP Services
> > Manually
> > > >as per
> > http://support.microsoft.com/defaul...US;286421#Task1
> > > >and everything seemed to check out. However, that mail that I sent,
> when
> > > >testing, is still sitting in the Queue directory.
> > > > > >I guess the next step is to figure out why it is not moving from the
> > Queue
> > > >to an actual email.
> > > > > >Thanks for your help.
> > > > > >-Rob
> > > > > > Since you tested it and it is delivering mail by telnetting to it I
> > > think you might need to look at a few things. delete the stuff in the
> > > queue directory, and just try resending. make sure you use the same
> > > email credentials you used while testing. if you use the same
> > > credentials and it doesn't work maybe it is having problems with
> > > permisions on the directories within mailroot. if it keeps failing,
> > > drive a hammer through the front of your screen and go out and enjoy
> > > the sun.
> > > > -Adam
> >
That should do it, Rob.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Rob G" <gumbatman@.hotmail.com> wrote in message
news:10douiuknh1pkda@.corp.supernews.com...
> Kevin,
> This is what I've done so far:
> Under Default SMTP Virtual Server I went to Properties.
> Clicked the Access tab.
> Clicked Relay.
> I added my local computer's IP address and 127.0.0.1 (just to test becuase
I
> don't know what I am doing).
> "Only the list below " is selected and so is "Allow all computer which
> succesfully authenticate..."
> Does that make any sense?
> Thanks.
> -Rob
>
> "Kevin Spencer" <kspencer@.takempis.com> wrote in message
> news:ulogESuWEHA.3596@.tk2msftngp13.phx.gbl...
> > Hi Rob,
> > Outlook/Outlook Express has nothing to do with sending emails from a Net
> > app. It is a client program which connects to a POP3 server, or Exchange
> > Server in order to send emails. The .Net app uses an SMTP server, which
> you
> > already know you have on your machine. Don't get them confused.
> > If the email you're sending has a return address which is not local to
> your
> > machine, by default, the IIS SMTP server disallows "relaying," which is,
> > simply, the transmission of an email which did not originate on that
> machine
> > (determined by the return email address's domain name). You may need to
> > configure your local SMTP server to allow relaying. Be aware, however,
> that
> > it is turned off for a reason. You may find SPAMmers using your local
SMTP
> > Server, unless you've blocked incoming traffic on Port 25.
> > --
> > HTH,
> > Kevin Spencer
> > .Net Developer
> > Microsoft MVP
> > Big things are made up
> > of lots of little things.
> > "Rob G" <gumbatman@.hotmail.com> wrote in message
> > news:10domo0217j5l85@.corp.supernews.com...
> > > ashelley,
> > > > Thanks for your help. I think we are getting closer.
> > > > It seems that these queued emails are in the Outbox of Outlook Express
> (I
> > > expected them to be in Outlook). I can't send anything from Outlook
> > Express
> > > because it wants a dialup connection. I would like it to connect to my
> > LAN,
> > > but I can't figure that one out.
> > > > Another hour on this and I am going out into the sun and get some
fresh
> > air.
> > > > -Rob
> > > > <ashelley@.inlandkwpp.com> wrote in message
> > > news:58lod01ogm3ig5s9viuedctdjodqj1k21p@.4ax.com...
> > > > On Fri, 25 Jun 2004 12:40:46 -0400, "Rob G" <gumbatman@.hotmail.com>
> > > > wrote:
> > > > > > >ashelley,
> > > > > > > >Here's some other stuff I found:
> > > > > > > >Since I have the SMTP Server running, I no longer get the exception
> > > errors.
> > > > > > > >I walked through the steps to Test Windows 2000 IIS SMTP Services
> > > Manually
> > > > >as per
> > > http://support.microsoft.com/defaul...US;286421#Task1
> > > > >and everything seemed to check out. However, that mail that I sent,
> > when
> > > > >testing, is still sitting in the Queue directory.
> > > > > > > >I guess the next step is to figure out why it is not moving from
the
> > > Queue
> > > > >to an actual email.
> > > > > > > >Thanks for your help.
> > > > > > > >-Rob
> > > > > > > > > Since you tested it and it is delivering mail by telnetting to it I
> > > > think you might need to look at a few things. delete the stuff in
the
> > > > queue directory, and just try resending. make sure you use the same
> > > > email credentials you used while testing. if you use the same
> > > > credentials and it doesn't work maybe it is having problems with
> > > > permisions on the directories within mailroot. if it keeps failing,
> > > > drive a hammer through the front of your screen and go out and enjoy
> > > > the sun.
> > > > > > -Adam
> > > > > >
Kevin,

Do you have any idea why the email would be sitting in the Queue directory?
What could I test to see why it doesn't send it out?

Thanks.

-Rob

"Kevin Spencer" <kspencer@.takempis.com> wrote in message
news:elSa3cvWEHA.3420@.TK2MSFTNGP12.phx.gbl...
> That should do it, Rob.
> --
> HTH,
> Kevin Spencer
> .Net Developer
> Microsoft MVP
> Big things are made up
> of lots of little things.
> "Rob G" <gumbatman@.hotmail.com> wrote in message
> news:10douiuknh1pkda@.corp.supernews.com...
> > Kevin,
> > This is what I've done so far:
> > Under Default SMTP Virtual Server I went to Properties.
> > Clicked the Access tab.
> > Clicked Relay.
> > I added my local computer's IP address and 127.0.0.1 (just to test
becuase
> I
> > don't know what I am doing).
> > "Only the list below " is selected and so is "Allow all computer which
> > succesfully authenticate..."
> > Does that make any sense?
> > Thanks.
> > -Rob
> > "Kevin Spencer" <kspencer@.takempis.com> wrote in message
> > news:ulogESuWEHA.3596@.tk2msftngp13.phx.gbl...
> > > Hi Rob,
> > > > Outlook/Outlook Express has nothing to do with sending emails from a
Net
> > > app. It is a client program which connects to a POP3 server, or
Exchange
> > > Server in order to send emails. The .Net app uses an SMTP server,
which
> > you
> > > already know you have on your machine. Don't get them confused.
> > > > If the email you're sending has a return address which is not local to
> > your
> > > machine, by default, the IIS SMTP server disallows "relaying," which
is,
> > > simply, the transmission of an email which did not originate on that
> > machine
> > > (determined by the return email address's domain name). You may need
to
> > > configure your local SMTP server to allow relaying. Be aware, however,
> > that
> > > it is turned off for a reason. You may find SPAMmers using your local
> SMTP
> > > Server, unless you've blocked incoming traffic on Port 25.
> > > > --
> > > HTH,
> > > Kevin Spencer
> > > .Net Developer
> > > Microsoft MVP
> > > Big things are made up
> > > of lots of little things.
> > > > "Rob G" <gumbatman@.hotmail.com> wrote in message
> > > news:10domo0217j5l85@.corp.supernews.com...
> > > > ashelley,
> > > > > > Thanks for your help. I think we are getting closer.
> > > > > > It seems that these queued emails are in the Outbox of Outlook
Express
> > (I
> > > > expected them to be in Outlook). I can't send anything from Outlook
> > > Express
> > > > because it wants a dialup connection. I would like it to connect to
my
> > > LAN,
> > > > but I can't figure that one out.
> > > > > > Another hour on this and I am going out into the sun and get some
> fresh
> > > air.
> > > > > > -Rob
> > > > > > <ashelley@.inlandkwpp.com> wrote in message
> > > > news:58lod01ogm3ig5s9viuedctdjodqj1k21p@.4ax.com...
> > > > > On Fri, 25 Jun 2004 12:40:46 -0400, "Rob G"
<gumbatman@.hotmail.com>
> > > > > wrote:
> > > > > > > > >ashelley,
> > > > > > > > > >Here's some other stuff I found:
> > > > > > > > > >Since I have the SMTP Server running, I no longer get the
exception
> > > > errors.
> > > > > > > > > >I walked through the steps to Test Windows 2000 IIS SMTP Services
> > > > Manually
> > > > > >as per
> > > > http://support.microsoft.com/defaul...US;286421#Task1
> > > > > >and everything seemed to check out. However, that mail that I
sent,
> > > when
> > > > > >testing, is still sitting in the Queue directory.
> > > > > > > > > >I guess the next step is to figure out why it is not moving from
> the
> > > > Queue
> > > > > >to an actual email.
> > > > > > > > > >Thanks for your help.
> > > > > > > > > >-Rob
> > > > > > > > > > > > Since you tested it and it is delivering mail by telnetting to it
I
> > > > > think you might need to look at a few things. delete the stuff in
> the
> > > > > queue directory, and just try resending. make sure you use the
same
> > > > > email credentials you used while testing. if you use the same
> > > > > credentials and it doesn't work maybe it is having problems with
> > > > > permisions on the directories within mailroot. if it keeps
failing,
> > > > > drive a hammer through the front of your screen and go out and
enjoy
> > > > > the sun.
> > > > > > > > -Adam
> > > > > > > > > > > >
This may help: In the properties of your SMTP server, there are probably
some settings regarding how often to retry sending, time until bounceback,
etc. Set these to a short amount of time and, in your ASP code, set the
From address to be YOUR actual, live, working email address (gumbatman @.
hotmail.com).

Hopefully, if there's a problem sending to the domain (or something of that
nature) you will receive a bounce message explaining the problem. You may
also hunt around in the application or security event log for some
information.

This may be a silly question, but, have you verified that the SMTP server
has access to the internet, can get out on port 25, etc. Not having access
would result in the symptoms you are experiencing.

Eric

"Rob G" <gumbatman@.hotmail.com> wrote in message
news:10dp5r45uhi0e3b@.corp.supernews.com...
> Kevin,
> Do you have any idea why the email would be sitting in the Queue
directory?
> What could I test to see why it doesn't send it out?
> Thanks.
> -Rob
> "Kevin Spencer" <kspencer@.takempis.com> wrote in message
> news:elSa3cvWEHA.3420@.TK2MSFTNGP12.phx.gbl...
> > That should do it, Rob.
> > --
> > HTH,
> > Kevin Spencer
> > .Net Developer
> > Microsoft MVP
> > Big things are made up
> > of lots of little things.
> > "Rob G" <gumbatman@.hotmail.com> wrote in message
> > news:10douiuknh1pkda@.corp.supernews.com...
> > > Kevin,
> > > > This is what I've done so far:
> > > > Under Default SMTP Virtual Server I went to Properties.
> > > Clicked the Access tab.
> > > Clicked Relay.
> > > I added my local computer's IP address and 127.0.0.1 (just to test
> becuase
> > I
> > > don't know what I am doing).
> > > "Only the list below " is selected and so is "Allow all computer which
> > > succesfully authenticate..."
> > > > Does that make any sense?
> > > > Thanks.
> > > > -Rob
> > > > > > "Kevin Spencer" <kspencer@.takempis.com> wrote in message
> > > news:ulogESuWEHA.3596@.tk2msftngp13.phx.gbl...
> > > > Hi Rob,
> > > > > > Outlook/Outlook Express has nothing to do with sending emails from a
> Net
> > > > app. It is a client program which connects to a POP3 server, or
> Exchange
> > > > Server in order to send emails. The .Net app uses an SMTP server,
> which
> > > you
> > > > already know you have on your machine. Don't get them confused.
> > > > > > If the email you're sending has a return address which is not local
to
> > > your
> > > > machine, by default, the IIS SMTP server disallows "relaying," which
> is,
> > > > simply, the transmission of an email which did not originate on that
> > > machine
> > > > (determined by the return email address's domain name). You may need
> to
> > > > configure your local SMTP server to allow relaying. Be aware,
however,
> > > that
> > > > it is turned off for a reason. You may find SPAMmers using your
local
> > SMTP
> > > > Server, unless you've blocked incoming traffic on Port 25.
> > > > > > --
> > > > HTH,
> > > > Kevin Spencer
> > > > .Net Developer
> > > > Microsoft MVP
> > > > Big things are made up
> > > > of lots of little things.
> > > > > > "Rob G" <gumbatman@.hotmail.com> wrote in message
> > > > news:10domo0217j5l85@.corp.supernews.com...
> > > > > ashelley,
> > > > > > > > Thanks for your help. I think we are getting closer.
> > > > > > > > It seems that these queued emails are in the Outbox of Outlook
> Express
> > > (I
> > > > > expected them to be in Outlook). I can't send anything from
Outlook
> > > > Express
> > > > > because it wants a dialup connection. I would like it to connect
to
> my
> > > > LAN,
> > > > > but I can't figure that one out.
> > > > > > > > Another hour on this and I am going out into the sun and get some
> > fresh
> > > > air.
> > > > > > > > -Rob
> > > > > > > > <ashelley@.inlandkwpp.com> wrote in message
> > > > > news:58lod01ogm3ig5s9viuedctdjodqj1k21p@.4ax.com...
> > > > > > On Fri, 25 Jun 2004 12:40:46 -0400, "Rob G"
> <gumbatman@.hotmail.com>
> > > > > > wrote:
> > > > > > > > > > >ashelley,
> > > > > > > > > > > >Here's some other stuff I found:
> > > > > > > > > > > >Since I have the SMTP Server running, I no longer get the
> exception
> > > > > errors.
> > > > > > > > > > > >I walked through the steps to Test Windows 2000 IIS SMTP
Services
> > > > > Manually
> > > > > > >as per
> > > http://support.microsoft.com/defaul...US;286421#Task1
> > > > > > >and everything seemed to check out. However, that mail that I
> sent,
> > > > when
> > > > > > >testing, is still sitting in the Queue directory.
> > > > > > > > > > > >I guess the next step is to figure out why it is not moving
from
> > the
> > > > > Queue
> > > > > > >to an actual email.
> > > > > > > > > > > >Thanks for your help.
> > > > > > > > > > > >-Rob
> > > > > > > > > > > > > > > Since you tested it and it is delivering mail by telnetting to
it
> I
> > > > > > think you might need to look at a few things. delete the stuff
in
> > the
> > > > > > queue directory, and just try resending. make sure you use the
> same
> > > > > > email credentials you used while testing. if you use the same
> > > > > > credentials and it doesn't work maybe it is having problems with
> > > > > > permisions on the directories within mailroot. if it keeps
> failing,
> > > > > > drive a hammer through the front of your screen and go out and
> enjoy
> > > > > > the sun.
> > > > > > > > > > -Adam
> > > > > > > > > > > > > > > > > > > >
Eric,

Thanks for the info.

I have been using live email addresses. But how do I confirm that I can get
out on port 25? I know it is basic and silly, but I am new to it.

Thanks.

-Rob

"Eric" <ejproductions-msnews7831@.mailblocks.com> wrote in message
news:ehz8a6wWEHA.3720@.TK2MSFTNGP12.phx.gbl...
> This may help: In the properties of your SMTP server, there are probably
> some settings regarding how often to retry sending, time until bounceback,
> etc. Set these to a short amount of time and, in your ASP code, set the
> From address to be YOUR actual, live, working email address (gumbatman @.
> hotmail.com).
> Hopefully, if there's a problem sending to the domain (or something of
that
> nature) you will receive a bounce message explaining the problem. You may
> also hunt around in the application or security event log for some
> information.
> This may be a silly question, but, have you verified that the SMTP server
> has access to the internet, can get out on port 25, etc. Not having
access
> would result in the symptoms you are experiencing.
>
> Eric
>
> "Rob G" <gumbatman@.hotmail.com> wrote in message
> news:10dp5r45uhi0e3b@.corp.supernews.com...
> > Kevin,
> > Do you have any idea why the email would be sitting in the Queue
> directory?
> > What could I test to see why it doesn't send it out?
> > Thanks.
> > -Rob
> > "Kevin Spencer" <kspencer@.takempis.com> wrote in message
> > news:elSa3cvWEHA.3420@.TK2MSFTNGP12.phx.gbl...
> > > That should do it, Rob.
> > > > --
> > > HTH,
> > > Kevin Spencer
> > > .Net Developer
> > > Microsoft MVP
> > > Big things are made up
> > > of lots of little things.
> > > > "Rob G" <gumbatman@.hotmail.com> wrote in message
> > > news:10douiuknh1pkda@.corp.supernews.com...
> > > > Kevin,
> > > > > > This is what I've done so far:
> > > > > > Under Default SMTP Virtual Server I went to Properties.
> > > > Clicked the Access tab.
> > > > Clicked Relay.
> > > > I added my local computer's IP address and 127.0.0.1 (just to test
> > becuase
> > > I
> > > > don't know what I am doing).
> > > > "Only the list below " is selected and so is "Allow all computer
which
> > > > succesfully authenticate..."
> > > > > > Does that make any sense?
> > > > > > Thanks.
> > > > > > -Rob
> > > > > > > > > > "Kevin Spencer" <kspencer@.takempis.com> wrote in message
> > > > news:ulogESuWEHA.3596@.tk2msftngp13.phx.gbl...
> > > > > Hi Rob,
> > > > > > > > Outlook/Outlook Express has nothing to do with sending emails from
a
> > Net
> > > > > app. It is a client program which connects to a POP3 server, or
> > Exchange
> > > > > Server in order to send emails. The .Net app uses an SMTP server,
> > which
> > > > you
> > > > > already know you have on your machine. Don't get them confused.
> > > > > > > > If the email you're sending has a return address which is not
local
> to
> > > > your
> > > > > machine, by default, the IIS SMTP server disallows "relaying,"
which
> > is,
> > > > > simply, the transmission of an email which did not originate on
that
> > > > machine
> > > > > (determined by the return email address's domain name). You may
need
> > to
> > > > > configure your local SMTP server to allow relaying. Be aware,
> however,
> > > > that
> > > > > it is turned off for a reason. You may find SPAMmers using your
> local
> > > SMTP
> > > > > Server, unless you've blocked incoming traffic on Port 25.
> > > > > > > > --
> > > > > HTH,
> > > > > Kevin Spencer
> > > > > .Net Developer
> > > > > Microsoft MVP
> > > > > Big things are made up
> > > > > of lots of little things.
> > > > > > > > "Rob G" <gumbatman@.hotmail.com> wrote in message
> > > > > news:10domo0217j5l85@.corp.supernews.com...
> > > > > > ashelley,
> > > > > > > > > > Thanks for your help. I think we are getting closer.
> > > > > > > > > > It seems that these queued emails are in the Outbox of Outlook
> > Express
> > > > (I
> > > > > > expected them to be in Outlook). I can't send anything from
> Outlook
> > > > > Express
> > > > > > because it wants a dialup connection. I would like it to connect
> to
> > my
> > > > > LAN,
> > > > > > but I can't figure that one out.
> > > > > > > > > > Another hour on this and I am going out into the sun and get
some
> > > fresh
> > > > > air.
> > > > > > > > > > -Rob
> > > > > > > > > > <ashelley@.inlandkwpp.com> wrote in message
> > > > > > news:58lod01ogm3ig5s9viuedctdjodqj1k21p@.4ax.com...
> > > > > > > On Fri, 25 Jun 2004 12:40:46 -0400, "Rob G"
> > <gumbatman@.hotmail.com>
> > > > > > > wrote:
> > > > > > > > > > > > >ashelley,
> > > > > > > > > > > > > >Here's some other stuff I found:
> > > > > > > > > > > > > >Since I have the SMTP Server running, I no longer get the
> > exception
> > > > > > errors.
> > > > > > > > > > > > > >I walked through the steps to Test Windows 2000 IIS SMTP
> Services
> > > > > > Manually
> > > > > > > >as per
> > > > > http://support.microsoft.com/defaul...US;286421#Task1
> > > > > > > >and everything seemed to check out. However, that mail that I
> > sent,
> > > > > when
> > > > > > > >testing, is still sitting in the Queue directory.
> > > > > > > > > > > > > >I guess the next step is to figure out why it is not moving
> from
> > > the
> > > > > > Queue
> > > > > > > >to an actual email.
> > > > > > > > > > > > > >Thanks for your help.
> > > > > > > > > > > > > >-Rob
> > > > > > > > > > > > > > > > > > Since you tested it and it is delivering mail by telnetting to
> it
> > I
> > > > > > > think you might need to look at a few things. delete the
stuff
> in
> > > the
> > > > > > > queue directory, and just try resending. make sure you use the
> > same
> > > > > > > email credentials you used while testing. if you use the same
> > > > > > > credentials and it doesn't work maybe it is having problems
with
> > > > > > > permisions on the directories within mailroot. if it keeps
> > failing,
> > > > > > > drive a hammer through the front of your screen and go out and
> > enjoy
> > > > > > > the sun.
> > > > > > > > > > > > -Adam
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
Not silly at all - everything's new at some point.
At a command prompt, try typing:

telnet mail.yahoo.com 25

if you connect, and are able to type, you made it out. If you don't connect
or, if it appears to connect, but disconnects after the first keystroke,
you're not able to get out.

Eric

"Rob G" <gumbatman@.hotmail.com> wrote in message
news:10e08vq84hv93a5@.corp.supernews.com...
> Eric,
> Thanks for the info.
> I have been using live email addresses. But how do I confirm that I can
get
> out on port 25? I know it is basic and silly, but I am new to it.
> Thanks.
> -Rob
>
> "Eric" <ejproductions-msnews7831@.mailblocks.com> wrote in message
> news:ehz8a6wWEHA.3720@.TK2MSFTNGP12.phx.gbl...
> > This may help: In the properties of your SMTP server, there are
probably
> > some settings regarding how often to retry sending, time until
bounceback,
> > etc. Set these to a short amount of time and, in your ASP code, set the
> > From address to be YOUR actual, live, working email address (gumbatman @.
> > hotmail.com).
> > Hopefully, if there's a problem sending to the domain (or something of
> that
> > nature) you will receive a bounce message explaining the problem. You
may
> > also hunt around in the application or security event log for some
> > information.
> > This may be a silly question, but, have you verified that the SMTP
server
> > has access to the internet, can get out on port 25, etc. Not having
> access
> > would result in the symptoms you are experiencing.
> > Eric
> > "Rob G" <gumbatman@.hotmail.com> wrote in message
> > news:10dp5r45uhi0e3b@.corp.supernews.com...
> > > Kevin,
> > > > Do you have any idea why the email would be sitting in the Queue
> > directory?
> > > What could I test to see why it doesn't send it out?
> > > > Thanks.
> > > > -Rob
> > > > "Kevin Spencer" <kspencer@.takempis.com> wrote in message
> > > news:elSa3cvWEHA.3420@.TK2MSFTNGP12.phx.gbl...
> > > > That should do it, Rob.
> > > > > > --
> > > > HTH,
> > > > Kevin Spencer
> > > > .Net Developer
> > > > Microsoft MVP
> > > > Big things are made up
> > > > of lots of little things.
> > > > > > "Rob G" <gumbatman@.hotmail.com> wrote in message
> > > > news:10douiuknh1pkda@.corp.supernews.com...
> > > > > Kevin,
> > > > > > > > This is what I've done so far:
> > > > > > > > Under Default SMTP Virtual Server I went to Properties.
> > > > > Clicked the Access tab.
> > > > > Clicked Relay.
> > > > > I added my local computer's IP address and 127.0.0.1 (just to test
> > > becuase
> > > > I
> > > > > don't know what I am doing).
> > > > > "Only the list below " is selected and so is "Allow all computer
> which
> > > > > succesfully authenticate..."
> > > > > > > > Does that make any sense?
> > > > > > > > Thanks.
> > > > > > > > -Rob
> > > > > > > > > > > > > > "Kevin Spencer" <kspencer@.takempis.com> wrote in message
> > > > > news:ulogESuWEHA.3596@.tk2msftngp13.phx.gbl...
> > > > > > Hi Rob,
> > > > > > > > > > Outlook/Outlook Express has nothing to do with sending emails
from
> a
> > > Net
> > > > > > app. It is a client program which connects to a POP3 server, or
> > > Exchange
> > > > > > Server in order to send emails. The .Net app uses an SMTP
server,
> > > which
> > > > > you
> > > > > > already know you have on your machine. Don't get them confused.
> > > > > > > > > > If the email you're sending has a return address which is not
> local
> > to
> > > > > your
> > > > > > machine, by default, the IIS SMTP server disallows "relaying,"
> which
> > > is,
> > > > > > simply, the transmission of an email which did not originate on
> that
> > > > > machine
> > > > > > (determined by the return email address's domain name). You may
> need
> > > to
> > > > > > configure your local SMTP server to allow relaying. Be aware,
> > however,
> > > > > that
> > > > > > it is turned off for a reason. You may find SPAMmers using your
> > local
> > > > SMTP
> > > > > > Server, unless you've blocked incoming traffic on Port 25.
> > > > > > > > > > --
> > > > > > HTH,
> > > > > > Kevin Spencer
> > > > > > .Net Developer
> > > > > > Microsoft MVP
> > > > > > Big things are made up
> > > > > > of lots of little things.
> > > > > > > > > > "Rob G" <gumbatman@.hotmail.com> wrote in message
> > > > > > news:10domo0217j5l85@.corp.supernews.com...
> > > > > > > ashelley,
> > > > > > > > > > > > Thanks for your help. I think we are getting closer.
> > > > > > > > > > > > It seems that these queued emails are in the Outbox of Outlook
> > > Express
> > > > > (I
> > > > > > > expected them to be in Outlook). I can't send anything from
> > Outlook
> > > > > > Express
> > > > > > > because it wants a dialup connection. I would like it to
connect
> > to
> > > my
> > > > > > LAN,
> > > > > > > but I can't figure that one out.
> > > > > > > > > > > > Another hour on this and I am going out into the sun and get
> some
> > > > fresh
> > > > > > air.
> > > > > > > > > > > > -Rob
> > > > > > > > > > > > <ashelley@.inlandkwpp.com> wrote in message
> > > > > > > news:58lod01ogm3ig5s9viuedctdjodqj1k21p@.4ax.com...
> > > > > > > > On Fri, 25 Jun 2004 12:40:46 -0400, "Rob G"
> > > <gumbatman@.hotmail.com>
> > > > > > > > wrote:
> > > > > > > > > > > > > > >ashelley,
> > > > > > > > > > > > > > > >Here's some other stuff I found:
> > > > > > > > > > > > > > > >Since I have the SMTP Server running, I no longer get the
> > > exception
> > > > > > > errors.
> > > > > > > > > > > > > > > >I walked through the steps to Test Windows 2000 IIS SMTP
> > Services
> > > > > > > Manually
> > > > > > > > >as per
> > > > > > > http://support.microsoft.com/defaul...US;286421#Task1
> > > > > > > > >and everything seemed to check out. However, that mail that
I
> > > sent,
> > > > > > when
> > > > > > > > >testing, is still sitting in the Queue directory.
> > > > > > > > > > > > > > > >I guess the next step is to figure out why it is not moving
> > from
> > > > the
> > > > > > > Queue
> > > > > > > > >to an actual email.
> > > > > > > > > > > > > > > >Thanks for your help.
> > > > > > > > > > > > > > > >-Rob
> > > > > > > > > > > > > > > > > > > > > Since you tested it and it is delivering mail by telnetting
to
> > it
> > > I
> > > > > > > > think you might need to look at a few things. delete the
> stuff
> > in
> > > > the
> > > > > > > > queue directory, and just try resending. make sure you use
the
> > > same
> > > > > > > > email credentials you used while testing. if you use the
same
> > > > > > > > credentials and it doesn't work maybe it is having problems
> with
> > > > > > > > permisions on the directories within mailroot. if it keeps
> > > failing,
> > > > > > > > drive a hammer through the front of your screen and go out
and
> > > enjoy
> > > > > > > > the sun.
> > > > > > > > > > > > > > -Adam
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
Eric,

Well it seems that I cannot get out on that port.

Just so we're clear. I opened Telnet. Then typed: open mail.yahoo.com 25

I then got the error "Count not open a connection to host on port 25."

I am not sure if you meant "mail.yahoo.com" as a place holder or an actual
string.

What do I do next?

Thanks.

"Eric" <ejproductions-msnews7831@.mailblocks.com> wrote in message
news:#ko59DSXEHA.1356@.TK2MSFTNGP09.phx.gbl...
> Not silly at all - everything's new at some point.
> At a command prompt, try typing:
> telnet mail.yahoo.com 25
> if you connect, and are able to type, you made it out. If you don't
connect
> or, if it appears to connect, but disconnects after the first keystroke,
> you're not able to get out.
> Eric
>
> "Rob G" <gumbatman@.hotmail.com> wrote in message
> news:10e08vq84hv93a5@.corp.supernews.com...
> > Eric,
> > Thanks for the info.
> > I have been using live email addresses. But how do I confirm that I can
> get
> > out on port 25? I know it is basic and silly, but I am new to it.
> > Thanks.
> > -Rob
> > "Eric" <ejproductions-msnews7831@.mailblocks.com> wrote in message
> > news:ehz8a6wWEHA.3720@.TK2MSFTNGP12.phx.gbl...
> > > This may help: In the properties of your SMTP server, there are
> probably
> > > some settings regarding how often to retry sending, time until
> bounceback,
> > > etc. Set these to a short amount of time and, in your ASP code, set
the
> > > From address to be YOUR actual, live, working email address (gumbatman
@.
> > > hotmail.com).
> > > > Hopefully, if there's a problem sending to the domain (or something of
> > that
> > > nature) you will receive a bounce message explaining the problem. You
> may
> > > also hunt around in the application or security event log for some
> > > information.
> > > > This may be a silly question, but, have you verified that the SMTP
> server
> > > has access to the internet, can get out on port 25, etc. Not having
> > access
> > > would result in the symptoms you are experiencing.
> > > > > Eric
> > > > > "Rob G" <gumbatman@.hotmail.com> wrote in message
> > > news:10dp5r45uhi0e3b@.corp.supernews.com...
> > > > Kevin,
> > > > > > Do you have any idea why the email would be sitting in the Queue
> > > directory?
> > > > What could I test to see why it doesn't send it out?
> > > > > > Thanks.
> > > > > > -Rob
> > > > > > "Kevin Spencer" <kspencer@.takempis.com> wrote in message
> > > > news:elSa3cvWEHA.3420@.TK2MSFTNGP12.phx.gbl...
> > > > > That should do it, Rob.
> > > > > > > > --
> > > > > HTH,
> > > > > Kevin Spencer
> > > > > .Net Developer
> > > > > Microsoft MVP
> > > > > Big things are made up
> > > > > of lots of little things.
> > > > > > > > "Rob G" <gumbatman@.hotmail.com> wrote in message
> > > > > news:10douiuknh1pkda@.corp.supernews.com...
> > > > > > Kevin,
> > > > > > > > > > This is what I've done so far:
> > > > > > > > > > Under Default SMTP Virtual Server I went to Properties.
> > > > > > Clicked the Access tab.
> > > > > > Clicked Relay.
> > > > > > I added my local computer's IP address and 127.0.0.1 (just to
test
> > > > becuase
> > > > > I
> > > > > > don't know what I am doing).
> > > > > > "Only the list below " is selected and so is "Allow all computer
> > which
> > > > > > succesfully authenticate..."
> > > > > > > > > > Does that make any sense?
> > > > > > > > > > Thanks.
> > > > > > > > > > -Rob
> > > > > > > > > > > > > > > > > > "Kevin Spencer" <kspencer@.takempis.com> wrote in message
> > > > > > news:ulogESuWEHA.3596@.tk2msftngp13.phx.gbl...
> > > > > > > Hi Rob,
> > > > > > > > > > > > Outlook/Outlook Express has nothing to do with sending emails
> from
> > a
> > > > Net
> > > > > > > app. It is a client program which connects to a POP3 server,
or
> > > > Exchange
> > > > > > > Server in order to send emails. The .Net app uses an SMTP
> server,
> > > > which
> > > > > > you
> > > > > > > already know you have on your machine. Don't get them
confused.
> > > > > > > > > > > > If the email you're sending has a return address which is not
> > local
> > > to
> > > > > > your
> > > > > > > machine, by default, the IIS SMTP server disallows "relaying,"
> > which
> > > > is,
> > > > > > > simply, the transmission of an email which did not originate
on
> > that
> > > > > > machine
> > > > > > > (determined by the return email address's domain name). You
may
> > need
> > > > to
> > > > > > > configure your local SMTP server to allow relaying. Be aware,
> > > however,
> > > > > > that
> > > > > > > it is turned off for a reason. You may find SPAMmers using
your
> > > local
> > > > > SMTP
> > > > > > > Server, unless you've blocked incoming traffic on Port 25.
> > > > > > > > > > > > --
> > > > > > > HTH,
> > > > > > > Kevin Spencer
> > > > > > > .Net Developer
> > > > > > > Microsoft MVP
> > > > > > > Big things are made up
> > > > > > > of lots of little things.
> > > > > > > > > > > > "Rob G" <gumbatman@.hotmail.com> wrote in message
> > > > > > > news:10domo0217j5l85@.corp.supernews.com...
> > > > > > > > ashelley,
> > > > > > > > > > > > > > Thanks for your help. I think we are getting closer.
> > > > > > > > > > > > > > It seems that these queued emails are in the Outbox of
Outlook
> > > > Express
> > > > > > (I
> > > > > > > > expected them to be in Outlook). I can't send anything from
> > > Outlook
> > > > > > > Express
> > > > > > > > because it wants a dialup connection. I would like it to
> connect
> > > to
> > > > my
> > > > > > > LAN,
> > > > > > > > but I can't figure that one out.
> > > > > > > > > > > > > > Another hour on this and I am going out into the sun and get
> > some
> > > > > fresh
> > > > > > > air.
> > > > > > > > > > > > > > -Rob
> > > > > > > > > > > > > > <ashelley@.inlandkwpp.com> wrote in message
> > > > > > > > news:58lod01ogm3ig5s9viuedctdjodqj1k21p@.4ax.com...
> > > > > > > > > On Fri, 25 Jun 2004 12:40:46 -0400, "Rob G"
> > > > <gumbatman@.hotmail.com>
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >ashelley,
> > > > > > > > > > > > > > > > > >Here's some other stuff I found:
> > > > > > > > > > > > > > > > > >Since I have the SMTP Server running, I no longer get the
> > > > exception
> > > > > > > > errors.
> > > > > > > > > > > > > > > > > >I walked through the steps to Test Windows 2000 IIS SMTP
> > > Services
> > > > > > > > Manually
> > > > > > > > > >as per
> > > > > > > > > http://support.microsoft.com/defaul...US;286421#Task1
> > > > > > > > > >and everything seemed to check out. However, that mail
that
> I
> > > > sent,
> > > > > > > when
> > > > > > > > > >testing, is still sitting in the Queue directory.
> > > > > > > > > > > > > > > > > >I guess the next step is to figure out why it is not
moving
> > > from
> > > > > the
> > > > > > > > Queue
> > > > > > > > > >to an actual email.
> > > > > > > > > > > > > > > > > >Thanks for your help.
> > > > > > > > > > > > > > > > > >-Rob
> > > > > > > > > > > > > > > > > > > > > > > > Since you tested it and it is delivering mail by
telnetting
> to
> > > it
> > > > I
> > > > > > > > > think you might need to look at a few things. delete the
> > stuff
> > > in
> > > > > the
> > > > > > > > > queue directory, and just try resending. make sure you use
> the
> > > > same
> > > > > > > > > email credentials you used while testing. if you use the
> same
> > > > > > > > > credentials and it doesn't work maybe it is having
problems
> > with
> > > > > > > > > permisions on the directories within mailroot. if it keeps
> > > > failing,
> > > > > > > > > drive a hammer through the front of your screen and go out
> and
> > > > enjoy
> > > > > > > > > the sun.
> > > > > > > > > > > > > > > > -Adam
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
Yup, I meant that literally (anyone should be able to connect to
mail.yahoo.com on port 25) so....
It's a firewall issue. Whatever firewall you're using, you'll need to
permit outbound traffic on port 25. I feel fairly confident that if you do
this your problem will be resolved.

Regards,

Eric

"Rob G" <gumbatman@.hotmail.com> wrote in message
news:10e0m2p7uo65gf3@.corp.supernews.com...
> Eric,
> Well it seems that I cannot get out on that port.
> Just so we're clear. I opened Telnet. Then typed: open mail.yahoo.com 25
> I then got the error "Count not open a connection to host on port 25."
> I am not sure if you meant "mail.yahoo.com" as a place holder or an actual
> string.
> What do I do next?
> Thanks.
>
>
> "Eric" <ejproductions-msnews7831@.mailblocks.com> wrote in message
> news:#ko59DSXEHA.1356@.TK2MSFTNGP09.phx.gbl...
> > Not silly at all - everything's new at some point.
> > At a command prompt, try typing:
> > telnet mail.yahoo.com 25
> > if you connect, and are able to type, you made it out. If you don't
> connect
> > or, if it appears to connect, but disconnects after the first keystroke,
> > you're not able to get out.
> > Eric
> > "Rob G" <gumbatman@.hotmail.com> wrote in message
> > news:10e08vq84hv93a5@.corp.supernews.com...
> > > Eric,
> > > > Thanks for the info.
> > > > I have been using live email addresses. But how do I confirm that I
can
> > get
> > > out on port 25? I know it is basic and silly, but I am new to it.
> > > > Thanks.
> > > > -Rob
> > > > > "Eric" <ejproductions-msnews7831@.mailblocks.com> wrote in message
> > > news:ehz8a6wWEHA.3720@.TK2MSFTNGP12.phx.gbl...
> > > > This may help: In the properties of your SMTP server, there are
> > probably
> > > > some settings regarding how often to retry sending, time until
> > bounceback,
> > > > etc. Set these to a short amount of time and, in your ASP code, set
> the
> > > > From address to be YOUR actual, live, working email address
(gumbatman
> @.
> > > > hotmail.com).
> > > > > > Hopefully, if there's a problem sending to the domain (or something
of
> > > that
> > > > nature) you will receive a bounce message explaining the problem.
You
> > may
> > > > also hunt around in the application or security event log for some
> > > > information.
> > > > > > This may be a silly question, but, have you verified that the SMTP
> > server
> > > > has access to the internet, can get out on port 25, etc. Not having
> > > access
> > > > would result in the symptoms you are experiencing.
> > > > > > > > Eric
> > > > > > > > "Rob G" <gumbatman@.hotmail.com> wrote in message
> > > > news:10dp5r45uhi0e3b@.corp.supernews.com...
> > > > > Kevin,
> > > > > > > > Do you have any idea why the email would be sitting in the Queue
> > > > directory?
> > > > > What could I test to see why it doesn't send it out?
> > > > > > > > Thanks.
> > > > > > > > -Rob
> > > > > > > > "Kevin Spencer" <kspencer@.takempis.com> wrote in message
> > > > > news:elSa3cvWEHA.3420@.TK2MSFTNGP12.phx.gbl...
> > > > > > That should do it, Rob.
> > > > > > > > > > --
> > > > > > HTH,
> > > > > > Kevin Spencer
> > > > > > .Net Developer
> > > > > > Microsoft MVP
> > > > > > Big things are made up
> > > > > > of lots of little things.
> > > > > > > > > > "Rob G" <gumbatman@.hotmail.com> wrote in message
> > > > > > news:10douiuknh1pkda@.corp.supernews.com...
> > > > > > > Kevin,
> > > > > > > > > > > > This is what I've done so far:
> > > > > > > > > > > > Under Default SMTP Virtual Server I went to Properties.
> > > > > > > Clicked the Access tab.
> > > > > > > Clicked Relay.
> > > > > > > I added my local computer's IP address and 127.0.0.1 (just to
> test
> > > > > becuase
> > > > > > I
> > > > > > > don't know what I am doing).
> > > > > > > "Only the list below " is selected and so is "Allow all
computer
> > > which
> > > > > > > succesfully authenticate..."
> > > > > > > > > > > > Does that make any sense?
> > > > > > > > > > > > Thanks.
> > > > > > > > > > > > -Rob
> > > > > > > > > > > > > > > > > > > > > > "Kevin Spencer" <kspencer@.takempis.com> wrote in message
> > > > > > > news:ulogESuWEHA.3596@.tk2msftngp13.phx.gbl...
> > > > > > > > Hi Rob,
> > > > > > > > > > > > > > Outlook/Outlook Express has nothing to do with sending
emails
> > from
> > > a
> > > > > Net
> > > > > > > > app. It is a client program which connects to a POP3 server,
> or
> > > > > Exchange
> > > > > > > > Server in order to send emails. The .Net app uses an SMTP
> > server,
> > > > > which
> > > > > > > you
> > > > > > > > already know you have on your machine. Don't get them
> confused.
> > > > > > > > > > > > > > If the email you're sending has a return address which is
not
> > > local
> > > > to
> > > > > > > your
> > > > > > > > machine, by default, the IIS SMTP server disallows
"relaying,"
> > > which
> > > > > is,
> > > > > > > > simply, the transmission of an email which did not originate
> on
> > > that
> > > > > > > machine
> > > > > > > > (determined by the return email address's domain name). You
> may
> > > need
> > > > > to
> > > > > > > > configure your local SMTP server to allow relaying. Be
aware,
> > > > however,
> > > > > > > that
> > > > > > > > it is turned off for a reason. You may find SPAMmers using
> your
> > > > local
> > > > > > SMTP
> > > > > > > > Server, unless you've blocked incoming traffic on Port 25.
> > > > > > > > > > > > > > --
> > > > > > > > HTH,
> > > > > > > > Kevin Spencer
> > > > > > > > .Net Developer
> > > > > > > > Microsoft MVP
> > > > > > > > Big things are made up
> > > > > > > > of lots of little things.
> > > > > > > > > > > > > > "Rob G" <gumbatman@.hotmail.com> wrote in message
> > > > > > > > news:10domo0217j5l85@.corp.supernews.com...
> > > > > > > > > ashelley,
> > > > > > > > > > > > > > > > Thanks for your help. I think we are getting closer.
> > > > > > > > > > > > > > > > It seems that these queued emails are in the Outbox of
> Outlook
> > > > > Express
> > > > > > > (I
> > > > > > > > > expected them to be in Outlook). I can't send anything
from
> > > > Outlook
> > > > > > > > Express
> > > > > > > > > because it wants a dialup connection. I would like it to
> > connect
> > > > to
> > > > > my
> > > > > > > > LAN,
> > > > > > > > > but I can't figure that one out.
> > > > > > > > > > > > > > > > Another hour on this and I am going out into the sun and
get
> > > some
> > > > > > fresh
> > > > > > > > air.
> > > > > > > > > > > > > > > > -Rob
> > > > > > > > > > > > > > > > <ashelley@.inlandkwpp.com> wrote in message
> > > > > > > > > news:58lod01ogm3ig5s9viuedctdjodqj1k21p@.4ax.com...
> > > > > > > > > > On Fri, 25 Jun 2004 12:40:46 -0400, "Rob G"
> > > > > <gumbatman@.hotmail.com>
> > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >ashelley,
> > > > > > > > > > > > > > > > > > > >Here's some other stuff I found:
> > > > > > > > > > > > > > > > > > > >Since I have the SMTP Server running, I no longer get
the
> > > > > exception
> > > > > > > > > errors.
> > > > > > > > > > > > > > > > > > > >I walked through the steps to Test Windows 2000 IIS
SMTP
> > > > Services
> > > > > > > > > Manually
> > > > > > > > > > >as per
> > > > > > > > > > > http://support.microsoft.com/defaul...US;286421#Task1
> > > > > > > > > > >and everything seemed to check out. However, that mail
> that
> > I
> > > > > sent,
> > > > > > > > when
> > > > > > > > > > >testing, is still sitting in the Queue directory.
> > > > > > > > > > > > > > > > > > > >I guess the next step is to figure out why it is not
> moving
> > > > from
> > > > > > the
> > > > > > > > > Queue
> > > > > > > > > > >to an actual email.
> > > > > > > > > > > > > > > > > > > >Thanks for your help.
> > > > > > > > > > > > > > > > > > > >-Rob
> > > > > > > > > > > > > > > > > > > > > > > > > > > Since you tested it and it is delivering mail by
> telnetting
> > to
> > > > it
> > > > > I
> > > > > > > > > > think you might need to look at a few things. delete
the
> > > stuff
> > > > in
> > > > > > the
> > > > > > > > > > queue directory, and just try resending. make sure you
use
> > the
> > > > > same
> > > > > > > > > > email credentials you used while testing. if you use
the
> > same
> > > > > > > > > > credentials and it doesn't work maybe it is having
> problems
> > > with
> > > > > > > > > > permisions on the directories within mailroot. if it
keeps
> > > > > failing,
> > > > > > > > > > drive a hammer through the front of your screen and go
out
> > and
> > > > > enjoy
> > > > > > > > > > the sun.
> > > > > > > > > > > > > > > > > > -Adam
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

0 comments:

Post a Comment