Re: sending mail without smptserver
From: Kevin Spencer (kspencer_at_takempis.com)
Date: 11/04/04
- Next message: lewindha: "Passing Paremeters from Form to Crystal Report"
- Previous message: Jeff Dillon: "Re: Running page and displaying data"
- In reply to: Pascal Cloup: "Re: sending mail without smptserver"
- Next in thread: Pascal Cloup: "Re: sending mail without smptserver"
- Reply: Pascal Cloup: "Re: sending mail without smptserver"
- Messages sorted by: [ date ] [ thread ]
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 > >> > >> > > > > > >
- Next message: lewindha: "Passing Paremeters from Form to Crystal Report"
- Previous message: Jeff Dillon: "Re: Running page and displaying data"
- In reply to: Pascal Cloup: "Re: sending mail without smptserver"
- Next in thread: Pascal Cloup: "Re: sending mail without smptserver"
- Reply: Pascal Cloup: "Re: sending mail without smptserver"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|