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. UNIX for Dummies Questions & Answers
I have been trying to use what Perderabo has given to send attachment via email., but I am not getting the attachments, what I see on the receiving email system are the attachments contents inside the body of the received email. No attachment icon shows in the received email.
I am on... (3 Replies)
Discussion started by: gio001
3. 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
4. UNIX for Dummies Questions & Answers
I am trying to send email with attacment and body using "mailx"
(cat body.txt; uuencode attach.txt) | mailx -s "Attachment" email@example.com
When i type this command, the shell is still waiting for me to enter something in standard input and press control D before it sends a mail and... (2 Replies)
Discussion started by: aliaszero
5. 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
6. Shell Programming and Scripting
I don't want the attachment embedded in the mail. I would like a file attached.
When I do
mailx -s "Report, `date +'%D %r` " -r "Notifications" firstname.lastname@example.org < /usr/local/bin/myreport.log> /dev/null
It gets embedded in my email. I want a file attachment. How do I do that? (2 Replies)
Discussion started by: guessingo
7. Shell Programming and Scripting
I am trying to send a mail with an attachment and message. Following command I am using.
(cat <messagefile> ; uuencode <attachmentfile> <attachmentfile>)|mailx -s"Subject" email@example.com
In the received mail, message body is appearing fine. But attachment is not coming. Rather... (2 Replies)
Discussion started by: nihar.dutta
8. 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" firstname.lastname@example.org
does anyone... (1 Reply)
Discussion started by: randomcz1
9. Shell Programming and Scripting
I spent some time working this out, with a little help from various forums, and thought the community would like to know :
Here is how you can send an email from a single Unix command line :
/usr/bin/echo "Email text\nNew line\nAnother new line" >x | uuencode sourcefile.txt sourcefile.txt |... (3 Replies)
Discussion started by: haryadoon
10. UNIX for Dummies Questions & Answers
Could someone help me with 'Extract or save attachment of email using mailx'
Vijay ;) (1 Reply)
Discussion started by: kandati