On Mon, Apr 2, 2012 at 11:35 PM, Jim Gibson <jimsgibson@gmail.com> wrote:
> At 4:08 PM +0800 4/2/12, lina wrote:
>>
>> I wish there is an alternative way in linux without installing use
>> Mail::Sendmail;
>>
>> on bash I used
>>
>> mail lina.lastname@gmail.com < report.txt
>
>
> If that works for you on your system, then just execute the same thing using
> system:
>
>
> system('mail lina.lastname@gmail.com < report.txt');
Thanks. It's the one I was looking for.
Thanks all for suggestions,
Best regards,
>
>
> Check 'perldoc -f system' for error checking methods.
>
Thread Previous