10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hie,
I need to attach an .xlsx file as an attachment to a mail. I have used the mail option but i dont think there is anything for attachment. Can you show me how else can i do it? I am not allowed to install mutt since it is a workplace and they have their restrictions. And its a Bash Shell (2 Replies)
Discussion started by: barryallen
2 Replies
2. Shell Programming and Scripting
Hi All,
I want to send multiple CSV file using below code. In Result folder, we have multiple CSV files. However, I want to catch only Summary CSV files.
I was trying using *, % with different combination. However, not able to do so.
From below code, I could send only one file... (1 Reply)
Discussion started by: Swapnil Mawle
1 Replies
3. UNIX for Dummies Questions & Answers
I am trying to find a code that can help me mail to a list of recipients which are in a text file.
Sample code
$cat recipient.txt
me@test.com
me1@test.com
me2@test.com
I want a mailx step that can read contents of recipient.txt and mail to all the users.
I don't want to use mails... (1 Reply)
Discussion started by: Gurkamal83
1 Replies
4. Shell Programming and Scripting
Hi,
We have a requirement to send multiple attachment(pdf and csv) along with html content in a single mail. For that we are using uuencode. It is working for single pdf attachment and html content. But we are unable to send both pdf and csv attachment with html content. Below is the script.... (5 Replies)
Discussion started by: dholea
5 Replies
5. Shell Programming and Scripting
Hi,
I want a script that can perform the following tasks,
1)Open command prompt and navigate to certain path (for eg: C:\Programs\) and then execute the below command on a daily basis,
list -C <client name> -t 13 -l -R -s <previous_day> /D > D:\Prgrams\list_currentdate.txt
Note: There... (2 Replies)
Discussion started by: cratercrabs
2 Replies
6. Shell Programming and Scripting
I am trying to load data into 3 tables simultaneously (which is working fine). Then when loaded, it should count the total number of records in all the 3 input files and send an e-mail to the user.
The script is working fine, as far as loading all the 3 input files into the database tables, but... (3 Replies)
Discussion started by: msrahman
3 Replies
7. Shell Programming and Scripting
Hi,
If I want my script to send a mail to multiple recipients I can do the following:
if
then
echo $err_string1 | mailx -s "UAT CPU ALERT" 1@email.com
echo $err_string1 | mailx -s "UAT CPU ALERT" 2@email.com
fi
Can this also be done something like:
... (1 Reply)
Discussion started by: runnerpaul
1 Replies
8. Shell Programming and Scripting
How to embed a html file as subject in a mail sending from Linux box with uuencode or mailx or any other way?
we do not want the file as attachment, it should be embedded in the mail subject. (2 Replies)
Discussion started by: johnveslin
2 Replies
9. Shell Programming and Scripting
Hi,
I have gone through the other related post but are of no help for me
I am sending multiple files as attachement.
The first file comes fine as an attachement but the other files are coming as binary.
For people with older version of email software they can see all attachements but... (1 Reply)
Discussion started by: pinnacle
1 Replies
10. UNIX for Advanced & Expert Users
HI all,
When i run this command below i get this error:
(cat /root/body.txt ; uuencode -m Summaryfile.zip) | mailx -s "completed" sandeep@help.com
bash: uuencode: command not found
Does anyone know why this is happening?
Or is there any alternative to send mail with an... (2 Replies)
Discussion started by: bsandeep_80
2 Replies