Is it possible to send attachment from unix/AiX without using uuencode and MUTE command?We can write a Perl script which will send email properly but without attachment, can I get the perl code which send PDF attachment? #!/usr/bin/perl$to = 'ashish.talreja@yahoo.com';$from = 'ashish.talreja@yahoo.com';$subject = 'Email from QA server';$message = 'This is test email sent by Perl Script1';open(MAIL, |/usr/sbin/sendmail -t);# Email Headerprint MAIL To: $to\n;print MAIL From: $from\n;print MAIL Subject: $subject\n\n;# Email Bodyprint MAIL $message;close(MAIL);print Email Sent Successfully\n;
How can I send email without using uuencode and mute?
email;perl