Re: My ISP blocks 25. How to test sendmail?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Kristofer Gafvert (kgafvert_at_NEWSilopia.com)
Date: 02/05/05


Date: Sat, 05 Feb 2005 00:13:58 -0800

Well, you need to send it to a machine on your internal network.

So if you set m.To to someone@192.168.0.2, assuming that 192.168.0.2 is
the IP of a machine running SMTP on your network, then the email should
end up in the Drop folder.

-- 
Regards,
Kristofer Gafvert
www.gafvert.info - My Articles and help
www.ilopia.com
G Dean Blake wrote:
> I have two xp machines.  This is my code on machine1
>         Dim m As MailMessage = New MailMessage
>         m.From = "myFromAddr@bogus.com"
>         m.To = "myToAddr@bogus.com"
>         m.BodyFormat = MailFormat.Text
>         m.Subject = "typeOfAction"
>         m.Body = "this is the body of my test email
>         SmtpMail.Send(m)
>
> IIS shows a Default SMTP Virtual Server on both machine1 and machine2 
but I
> don't know how to address this mail to machine2.  When I send it now it 
goes
> out to my Earthlink ISP who rejects it by blocking port 25.  How do I 
send
> it to machine2 so I can look at the email as it gets received?
> Thanks
> G
>
> "Kristofer Gafvert" <kgafvert@NEWSilopia.com> wrote in message
> news:xn0dy2qys73304c012@news.microsoft.com...
> > Hi,
> >
> > You don't need a POP3 server. Does your code do the actual sending, or
> > does it use an already existing SMTP server? If it do the sending, you
> > could just install SMTP on the development machine and send it to the 
SMTP
> > server. The emails will be available in the C:\Inetpub\mailroot\Drop
> > folder.
> >
> > If your code uses a local SMTP service, you might need a remote server 
to
> > send to, and again, SMTP available in Windows XP works fine.
> >
> >
> > --
> > Regards,
> > Kristofer Gafvert
> > www.gafvert.info - My Articles and help
> > www.ilopia.com
> >
> >
> > G Dean Blake wrote:
> >
> >> I have to write some sendmail code in .net.  It's easy to write but
> >> Earthlink (my ISP) blocks my smtp generated mail.  How can I test out 
my
> >> email code?
> > >
> >> Is there a way to set up POP3 on my other xp pro machine and send to 
it?
> >> Thanks,
> >> G


Relevant Pages

  • Re: my mail domain
    ... Kristofer Gafvert - IIS MVP ... > Did you by any chance rename the smtp virtual server? ... >> I just removed the new smtp server, ... >> JEFF-SRV ...
    (microsoft.public.inetserver.iis.smtp_nntp)
  • Re: Port 25 Blocked?
    ... It is not blocked from the internal network or the ... just from the server console itself. ... Can telnet (port 25) to other SMTP ...
    (microsoft.public.windows.server.general)
  • Re: Configure SMTP
    ... Kristofer Gafvert ... > I have installed the email-services on my win2003 server. ... SMTP ... > The difference between the 2 servers is: my colleaque has Active ...
    (microsoft.public.inetserver.iis.smtp_nntp)
  • Re: iLopia and CDO
    ... not before I installed the MS SMTP. ... server I could only get them to send via MS SMTP no ... >Kristofer Gafvert ... >> I am looking in my mail server logs and there is nothing ...
    (microsoft.public.inetserver.iis.smtp_nntp)
  • Re: E-mail help(That helped)
    ... Are you using Outlook, or Outlook Express? ... In outlook, for incoming, you should type the name of the POP3 Server. ... In outlook, for outgoing, it should be the name of the SMTP Server. ... Kristofer Gafvert - IIS MVP ...
    (microsoft.public.windows.server.general)