> On Thu, 16 Sep 2004, Anish Kumar K. wrote:
> 
> > When I type telnet *********.com 25
> > I get like this
> > 
> >     220 ************.com ESMTP Postfix
> >     500 Error: bad syntax
> 
> That's okay -- it at least confirms that you have access to a working 
> SMTP server, and should be able to send messages to it.
> 
> > The Program which I sent you work when I telnet into the system and 
> > work..
> > The problem happens when I work in the [Active Perl] on windows..
> 
> That is, you can telnet to the smtp server and send mail, but you cannot 
> get Net::SMTP to send mail through that server -- correct ?
> 

There seems like there is a disconnect here.... Are you telneting to a
remote machine and running the same program and it works?  But then when
you run the program from the Windows machine it doesn't?  If this is the
case it is possible that you don't have a local SMTP server, or if you
are specifying to use the same host in the program that the remote host
(aka the SMTP server) is rejecting relaying (which it should). It is
possible that the two different machines don't have the same access to
use the SMTP server.

http://danconia.org


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to