10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi All,
I have a working script as below.
echo "Files loaded with $(cat /var/tmp/script.X1.out)" | mail -s "Files loaded with return code" mailid
This script takes the output from script.X1.out file and appends the text "Files loaded with return code" and sends the email. Now what I want... (5 Replies)
Discussion started by: midhun3108
5 Replies
2. UNIX for Beginners Questions & Answers
Hello,
Somebody can help me to develop a script for the below requirement
I have a 3 files in a directory which was dynamically changed everyday basis. I need a script to fetch the 1pattern of strings in each file. if the three matching pattern is same send a mail with subject as success else... (1 Reply)
Discussion started by: MATHANKUMAR
1 Replies
3. Shell Programming and Scripting
Hi I have the following 'atd' batch script to send mail to a windows (outlook) system:
....
....
LESSOPEN=\|/usr/bin/lesspipe.sh\ %s; export LESSOPEN
G_BROKEN_FILENAMES=1; export G_BROKEN_FILENAMES
cd /root/bin || {
echo 'Execution directory inaccessible' >&2
exit 1
}... (3 Replies)
Discussion started by: AdminLew
3 Replies
4. Shell Programming and Scripting
Hi,
I want to send color text as body of mail with multiple attachments.How to do this?I used sendmailcommand but this command fails for multiple attachments.Give me some solution on this.
:wall: (0 Replies)
Discussion started by: AhmedLakadkutta
0 Replies
5. Shell Programming and Scripting
I have a list of mail ids in text file and want a ksh script that reads this text file and sends a mail to all mail ids with same subject line and content.
I am using UX-HP machine and KSH.
Thanks for help in advance! (5 Replies)
Discussion started by: Sriranga
5 Replies
6. Shell Programming and Scripting
Hi,
Is it possible to send mail from my HP-Ux system with images, rich text? I would like to program in such a way that I have my company's logo(.jpg) image attached in the mail geeting triggered. I would like to send a rich text/HTML email instead of plain text mail to the recipients. Is it... (2 Replies)
Discussion started by: rythym05
2 Replies
7. Shell Programming and Scripting
Suppose i have a txt file that is the list of the addresses,something like:
lala0045 john james
lala0234 george james
and i want to send an email to lala0045@blabla.com and lala0234@blabla.com,the same domain...what is the exact syntax i should use in my script?
there is a command... (10 Replies)
Discussion started by: bashuser2
10 Replies
8. UNIX and Linux Applications
I sh,
I have bold characters in a file and I want to mail file to an ID.
$cat file
Incorrect or invalid external email IDs in TO and CC list for email_rules:
If I pass this file to mailx
$ cat file | mailx -s "hi" abc@xyz.com
What I get in mail is
(8 Replies)
Discussion started by: hemangi13
8 Replies
9. Shell Programming and Scripting
Hi all,
I am working on UNIX (Solaris28). I would like to send an email in which the body will be in html format and, in the same mail, a xls file has to be attached.
I have tried this: the file is correctly attached but the body comes as html source and not formatted. If I do not attach the... (4 Replies)
Discussion started by: stefan.yu
4 Replies
10. UNIX for Dummies Questions & Answers
I have a utility that opens a telnet session and allows me to execute commands through a script. The utility allows me to output to a text file whatever is outputted to screen.
This utility runs from a DOS prompt in Windows 95/98, NT or 2000. How can I mail text file this to a certain user.
I... (2 Replies)
Discussion started by: petrosi
2 Replies