Displaying 1 result from an estimated 1 matches for "msg_body".
Did you mean:
max_body
2003 Mar 19
4
Samba print command only works on restart, help!
...se Mail::Sender;
my $print_location = '/var/spool/samba/'.shift();
my $print_job = shift();
my $ps2pdf_location = '/usr/local/bin/ps2pdf';
my $output_location = '/var/spool/samba/perl-output.pdf';
my $smtp_server = '1.1.1.1';
my $msg_subject = 'subject';
my $msg_body = 'This is a pdf attachment.';
my $from_address = 'whatever@blah.com';
my $auth_user = 'user';
my $auth_pass = 'pass';
my $to_address = 'whatever@blah.com';
print "Variables set.\n";
@ps2pdfcmd = ($ps2pdf_location, $print_location, $output_locati...