On Fri, 22 Oct 2004 [EMAIL PROTECTED] wrote:

> What does the \r in system("\r\n\r"); do?

Please look up the standard backslash characters.

  \r carriage return
  \n newline
  \f form feed

They're all related, but distinct. 

> Where can I find some info on the system function/method?

The perldoc system is a good place to start for this and your other 
questions, as is a good introductory text like _Beginning Perl_.

> Does anyone have something like this for Windows Telnet connecting to 
> Exchange?

Yeah -- a SMTP module.

Don't connect to a mail server via telnet unless you're debugging!

When you're trying to pin down SMTP problems, it can be useful to telnet 
to a mail server on the SMTP port 25, just as it can be useful to test 
web servers on port 80 and IMAP on port 143. This is a good thing to 
know how to do in a pinch.

But it should NEVER be necessary to write software that as a matter of 
routine communicates with a remote service via telnet. NEVER.

There are perfectly good SMTP modules on CPAN. Find one & use it.
 


-- 
Chris Devers

-- 
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