10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. Shell Programming and Scripting
I need to send a attachment which has space in the file name as: "ABC Data Extract.txt" which is present in the location /home/projects/txt
i am using
mailx -s "Sub" email_id "/home/projects/txt/ABC Data Extract.txt"
but i am not getting the attachment. (7 Replies)
Discussion started by: ATWC
3. Shell Programming and Scripting
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
4. Shell Programming and Scripting
want to send .csv file as an attachment using mailx command.
Please help!!! (1 Reply)
Discussion started by: gagandeep
5. Shell Programming and Scripting
Our requirement is to send an attachment and content in a single mail. I am using the below command to send attachement.
(uuencode $exp_file $exp_file) |mailx -s "$email_subject" $EmailRecipients
I m not able to send any message in the... (4 Replies)
Discussion started by: ashwin3086
6. Shell Programming and Scripting
Can anyone please provide the command for sending an mail with attachment using mailx command.
Thanks in Advance :)
Siram. (3 Replies)
Discussion started by: Sriram.Vedula53
7. UNIX for Advanced & Expert Users
I have a need to send a file from the unix command line to be sent as an attachment. Is this possible? That is when I open my outlook email I need to file to appear as an attachment.
Also, is there a way to use the mail binary (not mailx) to modify the "reply address". mailx -r works but I need... (1 Reply)
Discussion started by: kieranfoley
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 ?
... (0 Replies)
Discussion started by: sunjup
9. Shell Programming and Scripting
i've created a script that sends out an email using the mailx and uuencode command. the script is ok, but when a 5MB attachment is sent, there are time that the intended recepients does not receive any email. i tested it and the issue is intermitent. please help on how to troubleshoot.
i... (3 Replies)
Discussion started by: tads98
10. UNIX for Dummies Questions & Answers
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