in reply to emailing with attachments

'sendmail' is not recognized as an internal or external command, operable program or batch file. What am I doing wrong?

sendmail is the default sending method for MIME::Lite, so unless you specify otherwise, that's what it will try...

From the docs:
MIME::Lite->send() When used as a classmethod, this can be used to specify a diff +erent default mechanism for sending message. The initial default is: MIME::Lite->send("sendmail", "/usr/lib/sendmail -t -oi -oe +m"); However, you should consider the similar but smarter and taint +-safe variant: MIME::Lite->send("sendmail"); Or, for non-Unix users: MIME::Lite->send("smtp");
Since you're a non-unix user you should want something more like:
if ($I_DONT_HAVE_SENDMAIL) { MIME::Lite->send('smtp', "smtp.myisp.net", Timeout=>60); }