Send email from unix (AIX) with PDF attachment


 
Thread Tools Search this Thread
Operating Systems AIX Send email from unix (AIX) with PDF attachment
# 1  
Old 03-14-2008
Send email from unix (AIX) with PDF attachment

I am using the following command to send PDF attachment with a mail.

uuencode <attachment.pdf> <attachment.pdf>|mailx -s <subject> <mail_id> < <Message_file.txt>

This one send the message with attachment. I would like send PDF attachment with the mail

Can any one help with this issue ?

Thx
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to send a PDF attachment via MAILX?

Hi, We are using HPUX and have a script to send PDF attachment via MAILX Basically the script does the following: echo > $HOME/MY_mail_file uuencode o40881754.pdf o40881754.pdf >> MY_mail_file cat MY_mail_file | mailx -m -s "Sending PDF attachment" <email address> This script works... (7 Replies)
Discussion started by: Michel
7 Replies

2. UNIX for Dummies Questions & Answers

Send email attachment using Operating System Script(UNIX) in Oracle Alerts

Good Day Kindly assist: I am creating an Alert that will notify supervisors of staff members who are due for probation report. I am using Operating System Script(Unix) as source.I have already developed the script. Now the challenge is if there are 3 employee records then the alert... (2 Replies)
Discussion started by: nosi27
2 Replies

3. Shell Programming and Scripting

How to send email HTML + PDF attachment?

I am attempting to write a script where I can pass in parameters ( to , from, the location of a pdf attachment ) and send an email that has HTML for the body content and a PDF as an attachment. I have failed to achieve this with sendmail and mutt. I recently found this. If there are any... (2 Replies)
Discussion started by: jvsrvcs
2 Replies

4. Shell Programming and Scripting

Not able to send attachment with the email

Hi All, The below code is working fine for me. mailx -s hello abc@xyz.com <<EOT Hello !!! How are you? Regards Rahul EOT But i am not able to send csv file with the mail .Getting just themail but not the attachment. uuencode /path/s1.csv | mailx -s hello abc@xyz.com <<EOT... (9 Replies)
Discussion started by: rafa_fed2
9 Replies

5. Shell Programming and Scripting

send mail from AIX unix with multiple attachment

Hi, I have the below code for sending email from AIX unix. I need the body of the mail should content of errornotify.txt file. i tested with cat errornotify.txt, it is not working...Also i need multiple attachments. Can you please help me out on this. ( echo "From:cus@xxx.xx.com" echo... (3 Replies)
Discussion started by: rsivasan
3 Replies

6. Shell Programming and Scripting

unable to send an email attachment

i know its pretty repeated query, but i need to post it in this new thread coz i need it urgently uuencode /var/tmp/chandra/emaillist.txt emaillist.txt | mail -s "message with encoded attachment" am unable to send the attachment emaillist.txt present in the path /var/tmp/chandra/ Is... (11 Replies)
Discussion started by: cmaroju
11 Replies

7. Shell Programming and Scripting

Send email with attachment in form of excel in unix

Hi, I have a shell script which send email with an attachment in the form of an email. However, the when I open the attachment, all the data comes in one column. How do I format the data in the excel sheet while sending the email? Thanks (8 Replies)
Discussion started by: bdebroy
8 Replies

8. Shell Programming and Scripting

send email from unix with attachment

Hello All, This is a common question that I found lot of results in the forums. I am trying to use uuencode to attach a file and send email. I have no issues sending email, but not able to attach any files using sendmail. Is uuencode part of sendmail or does 'uuencode' utility need to be... (1 Reply)
Discussion started by: chiru_h
1 Replies

9. Shell Programming and Scripting

HELP!!! how to send PDF file as an attachment using mailx

Hi, iam using the following command: uuencode file1.pdf file1.pdf|mailx - s "waz up?" xyz@domain.com Iam recieving an encoding error when i try to open the attachment. Pls help..very urgent!!! (1 Reply)
Discussion started by: Brat
1 Replies

10. UNIX for Dummies Questions & Answers

Send a *.pdf file as a attachment

Hi there, i am very new in the unix sector. (i work on HP UX, an Sun Solaris) i can write some simple scripts,..... but now i will wirte a script with "mail". i would like to send a pdf file to a mail recipient. But if i try it with "mail -s "email@adress" < "filename(with path)" it... (3 Replies)
Discussion started by: scotty
3 Replies
Login or Register to Ask a Question
PDF::API2::Basic::PDF::Page(3pm)			User Contributed Perl Documentation			  PDF::API2::Basic::PDF::Page(3pm)

NAME
PDF::API2::Basic::PDF::Page - Represents a PDF page, inherits from PDF::API2::Basic::PDF::Pages DESCRIPTION
Represents a page of output in PDF. It also keeps track of the content stream, any resources (such as fonts) being switched, etc. Page inherits from Pages due to a number of shared methods. They are really structurally quite different. INSTANCE VARIABLES
A page has various working variables: curstrm The currently open stream METHODS
PDF::API2::Basic::PDF::Page->new($pdf, $parent, $index) Creates a new page based on a pages object (perhaps the root object). The page is also added to the parent at this point, so pages are ordered in a PDF document in the order in which they are created rather than in the order they are closed. Only the essential elements in the page dictionary are created here, all others are either optional or can be inherited. The optional index value indicates the index in the parent list that this page should be inserted (so that new pages need not be appended) $p->add($str) Adds the string to the currently active stream for this page. If no stream exists, then one is created and added to the list of streams for this page. The slightly cryptic name is an aim to keep it short given the number of times people are likely to have to type it. $p->ship_out($pdf) Ships the page out to the given output file context perl v5.14.2 2011-03-10 PDF::API2::Basic::PDF::Page(3pm)