Thanks John. The purpose was not to send email. I was just trying to see if
I am able to do a conversation with some server using a socket, as I am just
learning to program a socket. No I have not read RFC2821, but I am familiar
with the basic SMTP commands.

Thanks,
Rex

-----Original Message-----
From: John W. Krahn [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 09, 2001 3:30 PM
To: [EMAIL PROTECTED]
Subject: Re: [Socket] Question


[EMAIL PROTECTED] wrote:
> 
> Friends,
> 
> I am trying to learn little bit of socket programming in Perl. I tried one
> of the code snippet from Perl cookbook as a starting point. I am tring to
> 'talk' to my SMTP mail server.

You should probably use Net::SMTP.

> But when I type HELO through the console, it
> seems like my script is not writing to the server socket and it is getting
> into an inordinate wait state. What am I doing wrong? Am I not flushing
the
> output properly to the server socket?

Have you read RFC2821?



John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to