cutter has asked for the wisdom of the Perl Monks concerning the following question:
I am having a problem using the mailx mailer with system. The email body is not being sent in the email. The mailx command works fine from the command line, reading in the logfile as the message body. Unfortunatly using a mail PM like Mail::Mailer is not an option. Any suggesstions?
my $status=system("mailx -s \"$subject\" $address < /opt/autotree/auto +user/out/chk_cal_date.out") warn "Mailer exited with error: $?" unless $status == 0
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using system with mailx
by Abigail-II (Bishop) on Aug 06, 2003 at 13:36 UTC | |
|
Re: Using system with mailx
by zby (Vicar) on Aug 06, 2003 at 13:37 UTC | |
|
Re: Using system with mailx
by blue_cowdawg (Monsignor) on Aug 06, 2003 at 14:19 UTC | |
by cutter (Acolyte) on Aug 06, 2003 at 14:42 UTC | |
by Abigail-II (Bishop) on Aug 06, 2003 at 14:57 UTC | |
by Anonymous Monk on Aug 06, 2003 at 15:16 UTC | |
by Anonymous Monk on Aug 06, 2003 at 15:22 UTC | |
by blue_cowdawg (Monsignor) on Aug 06, 2003 at 15:27 UTC | |
|
Re: Using system with mailx
by Limbic~Region (Chancellor) on Aug 06, 2003 at 15:00 UTC |