07-04-2007
How to send the multi files as a attachment
Hi all,
Could you please guide me to write the shell script, to send a multi file as a attachement .
Thanks
Murugesh
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I need a shell script which need to send a mail with 4 *.csv files as attachments.Anybody can help me?
At present i have a script which is sending only one file as attachments.But i need a script which send 4 files in a shot.
#!/bin/ksh
/bin/mail xxxx@xx.xom << EOF
Subject:... (4 Replies)
Discussion started by: Mar1006
4 Replies
2. Shell Programming and Scripting
Hi,
I want to send a attachment using mailx command and also i want to include body of the mail which is stored in a text file.:confused:
uuencode att.txt att.txt |mailx -s "attachment" adc@mail.com < text.txt
I tried this command, but it is not working fine. It is showing the body but it is... (2 Replies)
Discussion started by: lathish
2 Replies
3. Shell Programming and Scripting
Hi, I have searched the site for info on sending an attachment in Linux, have tried a few people mailx codes but to no success. Can someone please help me? This is what i have so far:
#!/bin/bash
user_mail_address="me@yahoo.com"
filename="attachment.txt"
body="This is the body"
mail -s... (6 Replies)
Discussion started by: shamushamu
6 Replies
4. Shell Programming and Scripting
Hi,
I usually write a file TEST.MAIL like this to send mails:
Importance: High
Priority: Urgent
X-Priority: 1 (Highest)
From: user
Subject: error
... text body ....
and then I launch it (or writre a c-chell that launchs it) by writing:
mail a@b.com < /users/.../TEST.MAIL
How can... (4 Replies)
Discussion started by: albaalbetti
4 Replies
5. AIX
Hi,
Could anyone please help me to send multiple files of .csv format in one mail.
Thanks
Aj (2 Replies)
Discussion started by: atinjain05
2 Replies
6. UNIX for Advanced & Expert Users
We have these files in say \home\abcd\dm
Summary.txt
log_SI-100.lst
log_SI-101.lst
log_SI-106.lst
The contents of Summary.txt is as below
./log_SI-100.lst:Error detected, rollbacking ./log_SI-101.lst:Error detected, rollbacking ./log_SI-106.lst:Error detected, rollbacking
Now i... (5 Replies)
Discussion started by: depakjan
5 Replies
7. Shell Programming and Scripting
Hi All,
Is there anyway we can send files as an attachment? I tried running uuencode but its giving an error as below:
$ uuencode Z1.txt Z1.txt |mailx -s "hi" abc@abc.com
ksh: uuencode: not found.
Null message body; hope that's ok
When i gave which command then it says there is no... (18 Replies)
Discussion started by: HemaV
18 Replies
8. Shell Programming and Scripting
Hi All,
I need to send mail with attachment. I am using uuencode but it seems it is sending encoded file. I am getting the mail with attachment but there is no data even the file size is almost 90KB. Please help.
Thanks. (3 Replies)
Discussion started by: unankix
3 Replies
9. Shell Programming and Scripting
Hi All,
The below code is working fine for me.
mailx -s hello abc@xyz.com <<EOT
Hello !!!
How are you?
Regards
Rahul
EOT
But i am not able to send csv file with the mail .Getting just themail but not the attachment.
uuencode /path/s1.csv | mailx -s hello abc@xyz.com <<EOT... (9 Replies)
Discussion started by: rafa_fed2
9 Replies
10. Shell Programming and Scripting
Hi,
I need to send attachment with email as external attachment. Presently, we are using uuencode to make an attachment but it is going as content of body. We are using below command.
uuencode "filename1" "filename2" | mailx -r "$SENDFROM" ${SENDTO}
In unix box, -a is not supportable... (1 Reply)
Discussion started by: vamshi929
1 Replies
LEARN ABOUT OPENSOLARIS
purple-send-async
purple-send-async(1) User Commands purple-send-async(1)
NAME
purple-send-async - calls purple API functions using DBus.
SYNOPSIS
purple-send-async method-name [type1:value1] [type2:value2] ...
DESCRIPTION
This program calls purple API functions using DBus. As opposed to purple-send, it does not print the return value. If you wnat to print the
return value, use purple-send. This shell script just invokes dbus-send, see man dbus-send for how to specify the parameters.
OPTIONS
Use dbus-viewer to get the list of supported functions and their parameters.
Here are some examples:
/usr/bin/purple-send-async PurpleAccountsFindConnected string: string:prpl-jabber
/usr/bin/purple-send-async PurpleAccountsGetAll
/usr/bin/purple-send-async PurpleCoreQuit
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-im-client |
+-----------------------------+-----------------------------+
|Interface stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO
purple-remote(1), purple-send(1), purple-url-handler(1), attributes(5)
purple-send-async Manual, http://pidgin.im/
NOTES
Updated by Lei Ju, Sun Microsystems Inc., 2006, 2007.
SunOS 5.11 02 Apr 2008 purple-send-async(1)