Re: sending mail without smptserver

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

From: Kevin Spencer (kspencer_at_takempis.com)
Date: 11/04/04


Date: Thu, 4 Nov 2004 11:58:23 -0500

Hi Pascal,

You're still misunderstanding me. There is no SMTP server on the client
machine, any more than there is a Web Server. The SMTP Server is on the web
server, or another server having an SMTP server is used.

Your problem is probably due to the configuration of the SMTP server on your
server. If, for example, you are attempting to send an email in which the
"From" domain is not the same domain as the server's domain, and the server
doesn't allow relaying (most do not, as this is typically used by SPAMMERs),
the email will not be sent.

-- 
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
"Pascal Cloup" <pascal-cloup@biogesta.fr> wrote in message
news:u#owdKowEHA.1564@TK2MSFTNGP09.phx.gbl...
> thanks for your explanations Kevin,
>
> but after verifying, my computer have IIs with smtp services installed. So
> the problem is elsewher.
> Never mind, as it will not be always the case for the computer of the
users
> of my applications, is there a way to obtain the smtp server?
>
> thanks in advance,
>
> Pascal
>
> "Kevin Spencer" <kspencer@takempis.com> a écrit dans le message de news:
> esR1osnwEHA.2804@TK2MSFTNGP14.phx.gbl...
> > Trying to send email without an SMTP server is like trying to send a
> > letter
> > without a Post Office.
> >
> > an SMTP Server is a service that runs on a machine. The Server's
location
> > is
> > the IP address of the machine. It listens on TCP Port 25 of that
machine.
> > "localhost" is a Host Name for the local machine, and is recognized as
> > such
> > by most OS's today. It maps to IP address 127.0.0.1, the local loopback
> > address for the machine. Using "localhost" will work as long as the
> > machine
> > on which the code resides has an SMTP Server.
> >
> > Note: A "current user" has no SMTP server. Only a machine can. IIS comes
> > with an SMTP Server, which may or may not be installed on the server.
> >
> > -- 
> > HTH,
> > Kevin Spencer
> > .Net Developer
> > Microsoft MVP
> > I get paid good money to
> > solve puzzles for a living
> >
> > "Pascal Cloup" <pascal-cloup@biogesta.fr> wrote in message
> > news:uMcr3ulwEHA.1404@TK2MSFTNGP11.phx.gbl...
> >> Hello,
> >>
> >> I just want to send an e-mail from my windows form application without
> >> specifying SmtpServer.
> >>
> >> On my computer, when i specify my smtpserver, SmtpMail.Send( aMail )
> >> works
> >> fine, but without specifuing SmtpMail.SmtpServer, the message is never
> >> sent.. I tried various things like SmtpMail.SmtpServer = "" or
> >> SmtpMail.SmtpServer = "localhost" or
> >> SmtpMail.SmtpServer.Insert"0,"localhost""), ... the result was  the
same
> >>
> >> Someone know how to do that? or how to know the SmtpServer of the
current
> >> user?
> >>
> >> thanks in advance,
> >>
> >> Pascal
> >>
> >>
> >
> >
>
>


Relevant Pages

  • ipsec to block ip range
    ... I have a web server - windows 2003 web edition, running dns, ftp, smtp, pop, ... Some nice people (from Korea) are bombarding my smtp server, ...
    (microsoft.public.windows.server.security)
  • Re: sending mail without smptserver
    ... Trying to send email without an SMTP server is like trying to send a letter ... Using "localhost" will work as long as the machine ... > specifying SmtpServer. ... > On my computer, when i specify my smtpserver, SmtpMail.Sendworks ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: sending mail without smptserver
    ... Never mind, as it will not be always the case for the computer of the users ... is there a way to obtain the smtp server? ... >> specifying SmtpServer. ... >> On my computer, when i specify my smtpserver, SmtpMail.Send ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Newbie: How Do I Use An External SMTP Server?
    ... He want me to use our existing SMTP server ... No. IIS is a web server and couldn't care less about email. ... ASP, ASP.NET or a number of other scripting langauges you can easily ...
    (microsoft.public.inetserver.iis)
  • Re: Double-postings via home.ne.jp?
    ... >get a blank page fromn the web server but a message to postmaster via ... >the smtp server might get results. ... >brackets for a numeric address iirc. ...
    (comp.os.vms)