I have this sendmail that does work on my Windows NT using the sendmail. Please advise how I can get an attachment to work. Do I have to use the Mime module? Thanks
use strict;
use Mail::Sendmail;
my %mailurl = (
To => 'jones@here.com',
From => 'smith@here.com'
);
$mailurl{smtp} = '111.222.2.22';
$mailurl{'Subject'} = "test";
$mailurl{'Message'} = "info";
sendmail(%mailurl) || die $Mail::Sendmail::error\n;
|