in reply to Cant send Email

The default install uses 'localhost' as the mail server. Is it a mail server rnning SMTP? Can you telnet to port 25 on the local host ?

If not, add this before calling sendmail:

$mail{smtp} = 'my.mail.server';

     Syntactic sugar causes cancer of the semicolon.        --Alan Perlis