El Sun, 29 Jul 2001 10:31:11 -0500
Mike Rodgers <[EMAIL PROTECTED]> escribió:
>On page 23 of Learning Perl, there are commands to mail a message out.
>I have tried to manually send myself a message with mail and it works.
>The program does not work. I'm not sure why. Here is the code:
>
>open(MAIL, "mail EMAIL_ADDRESS_HERE");
>print MAIL "bad news: $somename guessed $someguess\n";
>close (MAIL);
>
Do you write "|mail username\@localhost" ?
The | and \@ are necessary.
Regards.
--
______________________________________________________
______ _____________
Marcelo Ramos | \/ __ |
Suse 7.1 GNU/Linux 2.2.19 | |_/ /
Linux registered user #118109 | \
[EMAIL PROTECTED] |_____|\/|_____|\_____\
Firma la peticion de drivers para Linux en :
http://www.libranet.com/petition.spanish.html
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]