in reply to Send Mail Attachment

Are you sure you have sendmail installed on your machine? Because the error message suggest the program is trying to execute a program that can't be found.

Abigail

Replies are listed 'Best First'.
Re: Re: Send Mail Attachment
by Anonymous Monk on Oct 07, 2003 at 13:35 UTC
    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;