Mail:Sender no longer works where my site is hosted. They decided make a change. Scripts can no longer use SMTP.
They suggested that I do
shell_exec("cat email.txt | /var/qmail/bin/qmail-inject");
but I don't know enough about MIME to make it so.
So I thought that I could use MIME-Lite. But it didn't work. No mail is delivered.
$msg = MIME::Lite->new(
Subject =>'A message with 2 parts...',
### Add parts (each "attach" has same arguments as "new"):
Data =>"Here's the file you wanted"
Disposition => 'attachment'