in reply to Simple SMTP email within script...

If you look at my Re: using the Mailer / sendmail perl module..., you'll see a snippet of Perl code that doesn't rely on modules, which will let you e-mail the status of background tasks. I use this on a regular basis, and am quite happy with it.