in reply to Mail Question

The Net:SMTP module works really well and doesn't rely on sendmail so if you switch to a different MTA the script still works. Unlike calling sendmail from a script, Net::SMTP also allows you to use a remote MTA such as one at your ISP. This is a bit of a script (hopefully modified correctly) that should show the basics. The original script I wrote runs as a cron job and fetches my stock quotes from Yahoo and sends them to my cell phone every day at market close. Note, the start of the text should include the standard To:, From: and Subject: lines explicitely stated with a blank line at the end as shown below. Replace localhost with your ISP's MTA if appropriate. -Steve
use Net::SMTP; # Get ready to send messages via SMTP $thetext = "From: me\@myself.org\n"; $thetext .= "To: you\@yourself.com\n"; $thetext .= "Subject: Some Stuff\n"; $thetext .= "\n"; # Send the message and disconnect $smtp=Net::SMTP->new('localhost'); $smtp->mail("me\@myself.org"); $smtp->recipient("you\@yourself.com"); $smtp->data($thetext); $smtp->quit;