10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi i am trying to send a csv file as an attachment via mail from linux.
i am using the below script.
echo "X-Mailer: htmlmail" $VERSION
echo "Mime-Version: 1.0"
echo 'Content-Type: multipart/mixed; boundary="-q1w2e3r4t5"'
echo '---q1w2e3r4t5'
echo "Content-Type: text/html; charset=US-ASCII"... (1 Reply)
Discussion started by: mohanalakshmi
1 Replies
2. UNIX for Dummies Questions & Answers
i need to send an email to users on the files being loaded...how can i achieve this?
say, my source file directory has 2 files
file1.txt
file2.txt
I just want to send an email saying these files were loaded...Please help (1 Reply)
Discussion started by: saggiboy10
1 Replies
3. Shell Programming and Scripting
(say) I have 2 csv files - file1.csv & file2.csv as mentioned below:
file1.csv
ID,version,cost
1000,1,30
2000,2,40
3000,3,50
4000,4,60
file2.csv
ID,version,cost
1000,1,30
2000,2,45
3000,4,55
6000,5,70
... (1 Reply)
Discussion started by: Naresh101
1 Replies
4. Shell Programming and Scripting
The file is located under appl/batchdata/
file name: storesales.txt
I am using following code because uuencode is not present. I am not getting the data in file but i am getting the blank file with same name as an email attachment.
( echo "from: sch@xxxx.com"
echo "to:sch@xxxx.com"
echo... (2 Replies)
Discussion started by: skatpally
2 Replies
5. Shell Programming and Scripting
Hi,
In the shell script, i want to do sftp and go to a directory and check if a particular file is present, if not i send an email with some error message. Please guide me about how i could achieve it...." (1 Reply)
Discussion started by: sJohn
1 Replies
6. Shell Programming and Scripting
Hi Experts,
An automation of Unprocessed data(oracle rows) table where a shell script is written to check if there are any records inserted into the table on daily basis. Whenever rows passed into this table on a particular day, there will be a time where the script can be scheduled around 7:00 am... (2 Replies)
Discussion started by: defendersubbu
2 Replies
7. Shell Programming and Scripting
I am trying to send an email body of information and also attachment using perl script, but I am only able to send the body but not an attachment. is there around it without using "use MIME::Lite;" module.
$user = "bataf\@xyz.com";
$subjectt = "mail from perl";
open(MAIL, "| mailx -s... (1 Reply)
Discussion started by: bataf
1 Replies
8. Shell Programming and Scripting
Hello, i have a requirement where i need to create a script which would check for a file name called XX_YYYY_ZZ in the directory inbound and as soon as the file is delivered in this directory a email needs to be sent to a user abc@yahoo.com
The plan is to put script in the core process to run... (8 Replies)
Discussion started by: rajasinn
8 Replies
9. Shell Programming and Scripting
Hi guys,
I have two files . One file contains log record and another file contains emailids which is supposed to send it users
File1 :
Name : abc_xyz_data.txt
Which contains log record
File 2 :
Name : abc_xyz_mailids.txt
Which contains emailids.
abc@test.com
bcd@test.com
I... (4 Replies)
Discussion started by: orabalu
4 Replies
10. Shell Programming and Scripting
Hello,
I need to send with text in the body and 2 files as attachments using sendmail command.
i can send only one at a time either attachment or text in body of email.
Can any one please help me how to get that?
I will be great for any help.
Thanks,
Sparan (1 Reply)
Discussion started by: sparan_peddu
1 Replies