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


I used my own ID for the email address.  I'm testing this on a
standalone Linux box here at home.  Like I said, doing mail from the
command prompt to send myself a test messge worked.

Mike

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

Reply via email to