10 More Discussions You Might Find Interesting
1. Red Hat
I am trying to send an email with message body and attachment.but i am getting any one like message body or attachment.
I tried below command:
(echo "subject:test";echo "MIME-Version: 1.0";echo "content-transfer-encoding:base 64";echo "content-type:txt;name=test.txt";cat... (2 Replies)
Discussion started by: Devipriya Ch
2. Shell Programming and Scripting
i have to attach the 'body in the email' along with attachment below code is throwing errors, how can i do it ?
here body file contains message, it should display in email, please help
i am using HP-UX
(cat body ;) (uuencode attch1 attch1 ;) | mailx -m -s "testing" "firstname.lastname@example.org"
... (4 Replies)
Discussion started by: only4satish
3. UNIX for Dummies Questions & Answers
I want to able to attach a file to a email and send it with a body
the body of the email is within the "body" file, and the attachment in "atch"
if i send like below it will send the email correctly
/usr/sbin/sendmail email@example.com< body
And when i send the attachment alone... (3 Replies)
Discussion started by: sridanu
4. Shell Programming and Scripting
I am using mailx command to send an email and i took the body of the email from a file,
mailx -r gtt.org -s "Status Report " firstname.lastname@example.org < $ProcessStatisticsFile
but now i want to declare the body of the email in the command itself.
I have tried with the following command but... (4 Replies)
Discussion started by: chinnu01
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
We have been trying to send mail with attachment and it is going fine, but when we try to attach a text to the body of the email, we find that the mail is going fine with the body text but the attachment is not going through. We are using ksh.
The command that is successfull without the... (6 Replies)
Discussion started by: jmathew99
7. 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
8. Shell Programming and Scripting
plz help me in sending a mail with some data in body and an attachment as some txt file.
currently i am able to send mail with some body content, i need an example how to send the same along with attachment.
thanks in advance
-bali (2 Replies)
Discussion started by: balireddy_77
9. UNIX for Dummies Questions & Answers
I'm trying to script sending an e-mail message on an AIX 5.x server with the following requirements:
1. command line switch to specify file name containing message body in HTML format
2. command line switch to specify file name of a binary attachment
3. command line or input file to specify... (4 Replies)
Discussion started by: G-Man
10. Shell Programming and Scripting
i am trying to send mail with attachment to web-based email client like gmail.com using mailx. the problem is it is displayed in content rather than as attachment.
the code i am using is as follows,
uuencode test1.txt test1.txt | mailx -s "test only" email@example.com
does anyone... (1 Reply)
Discussion started by: randomcz1