nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

how to send mail body with multiple attachments

This is a discussion on how to send mail body with multiple attachments within the Shell scripting forums, part of the Development/Scripting category; Hi, I am using following commands :- $ uuencode r1.tar.gz r1.tar.gz > /tmp/out.mail $ uuencode r2.tar.gz r3.tar.gz >> /tmp/out.mail $ ...


Go Back   nixCraft Linux Forum > Development/Scripting > Shell scripting

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 04-02-2008, 11:01 AM
Junior Member
User
 
Join Date: Apr 2008
My distro: Debian
Posts: 2
Rep Power: 0
amankhurana is on a distinguished road
Default how to send mail body with multiple attachments

Hi,
I am using following commands :-
$ uuencode r1.tar.gz r1.tar.gz > /tmp/out.mail
$ uuencode r2.tar.gz r3.tar.gz >> /tmp/out.mail
$ uuencode r3.tar.gz r3.tar.gz >> /tmp/out.mail
$ mail -s "Reports” user@my.somewhere.com < /tmp/out.mail

but how to send mail body with this.

Please tell me ASAP.

Thanks in advance

Aman Khurana.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-07-2008, 01:44 AM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 556
Rep Power: 6
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

Mail body is stored in /tmp/out.mail file
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
How to send mail body with multiple attachments amankhurana Shell scripting 0 04-02-2008 10:34 AM
Evolution unable to send mail satimis Mail Servers 0 01-20-2008 11:28 AM
shell script to send mail for each login. ephdia Shell scripting 2 11-27-2007 04:42 PM
send mail installation and configuration jhn_daz@yahoo.com Mail Servers 1 11-01-2007 09:37 AM
send mail attachment solaris K.R. Solaris/OpenSolaris 1 02-01-2007 07:05 PM


All times are GMT +5.5. The time now is 06:40 AM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36