Sending an email with more than one files


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Sending an email with more than one files
# 1  
Old 05-25-2007
Question Sending an email with more than one files

Hi,

I would like to send an email with more than one attachement. I am using uuencode. I want to achive by suing uuencode. Also please let me know other ways.

-Thambi
# 2  
Old 05-25-2007
afaik thats not possible, you need to tar the files before sending
# 3  
Old 05-25-2007
Quote:
Originally Posted by funksen
afaik thats not possible, you need to tar the files before sending
Code:
{ uuencode f1 f1;uuencode f2 f2; }|mailx ...

# 4  
Old 05-25-2007
allright, good to know Smilie
# 5  
Old 05-25-2007
Bug

{ uuencode f1 f1;uuencode f2 f2; }|mailx ...

I am using HP unix. It gives the error that unexpected symbol }

Moreover, I don't have the zip in my HP unix. So i tared different files from different location using tar command. When I try to open the tar file in windows , only current files are opening properly. Rest of the files ( we metion the entire path of the file ) not extracting while I use winzip software.

My task is that I just send many files to email id at any way .

-Thambi
# 6  
Old 05-25-2007
Helo Thambi,

Iam new user. I also using HP-UX, can u give some tips to obtain system open file table value.

Mahesh
# 7  
Old 05-25-2007
Mahesh,

Please eloborate your request. I am not getting you exactly .

-Thambi
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Using top command to email if process is exceeding 25% and sending an email alert if so

This is my first time writing a script and Im having some trouble, Im trying to use the top command to monitor processes and the amount of CPU usage they require, my aim is to get an email if a process takes over a certain percentage of CPU usage I tried grep Obviosly that hasnt worked, Any... (8 Replies)
Discussion started by: jay02
8 Replies

2. UNIX for Dummies Questions & Answers

Zipping files and sending email

Hi, I need to zip 4 files and send an email attaching the zipped files... Pls help.. Win ---------- Post updated at 10:49 AM ---------- Previous update was at 10:36 AM ---------- Hi, I need to convert 4 text files into xls,zip these 4 files and send an email attaching the... (2 Replies)
Discussion started by: win4luv
2 Replies

3. Shell Programming and Scripting

Sending email with multiple files..

Hello,, I am loading data into the 4 tables from 4 different input files. The data gets loaded, and the e-mail is also sent to the user, but the log files for all the 4 files is not been sent.. I am trying to send e-mail to users with the log file as attachment. The script is as follows:... (30 Replies)
Discussion started by: msrahman
30 Replies

4. Linux

sending an email

I have used an already-built ActiveX control to send email from my asp web pages. One of the parameters I fill is FromName which defines the tittle the recipient will see in the From entrance in his Inbox. Now Iīm trying to use mail to send an email from a Shell but I havenīt found the... (1 Reply)
Discussion started by: RandomAccess
1 Replies

5. HP-UX

Sending Unix files as attachments in an email

Hi, I am executing the following command in order to send a file as an attachment: mailx -s "Subject" emailID@xyz.com < Testfile.txt Instead of attaching the file Testfile.txt, it is writing the contents of the file in the email message body. Please advise on how I can send the file as an... (7 Replies)
Discussion started by: sangharsh
7 Replies

6. UNIX and Linux Applications

Sending email via syslog-ng

Hi friends I have syslog-ng installed in RHEL5 server, I make it as CEntral log for all servers in my network, Filtered by IP Now What I want to do is make it send to me an email for a specific log for one of my server, In other word when any log sent from this IP (192.168.1.1 ) For... (4 Replies)
Discussion started by: reaky
4 Replies

7. Shell Programming and Scripting

Sending mutiple files thru email to lotus notes

Hi All, I am currently using the following script to send the single file to one/more email addresses. I need to send mutilple files at same time, are there anyway I could modify the script or write new one to accomplish the same. Script *************** #!/bin/ksh # Author: Manish... (4 Replies)
Discussion started by: lapisguy
4 Replies

8. UNIX for Dummies Questions & Answers

sending email

hi, is there any possiblity to send email from the command prompt, for eg i want to send alert to any mail id like /data/logs is 80% to my hotmail account , xxx@hotmail.com is this really possible,, if not, then what are the prerequistes need to do this (1 Reply)
Discussion started by: vasikaran
1 Replies

9. Shell Programming and Scripting

Sending Multiple Files through email

Hi Everyone, I'm using the uuencode command with the mail command to send out emails through a UNIX script. The problems is that i have a number of gif files that i need to attach to a single email but the number and name of the gif files is not static. Example today the folder home/Desktop may... (4 Replies)
Discussion started by: nbvcxzdz
4 Replies

10. UNIX for Dummies Questions & Answers

Sending email

I have an Solaris 8 machine running a managment application. One of the features of this application is to configure alarm forwarding to an email undress. When i configured the application to do that, it asked me only about the recipient email address. Quesiton: how to configure my Solaris 8... (7 Replies)
Discussion started by: bcheaib
7 Replies
Login or Register to Ask a Question