10 More Discussions You Might Find Interesting
1. Red Hat
Hello experts!!
I am trying to send an email with message body and attachment.but i am getting any one like message body or attachment.
I tried below command:
(echo "subject:test";echo "MIME-Version: 1.0";echo "content-transfer-encoding:base 64";echo "content-type:txt;name=test.txt";cat... (2 Replies)
Discussion started by: Devipriya Ch
2 Replies
2. Shell Programming and Scripting
I am making use of the following code to display the results of my txt file in an email:
mail -s 'Count Validation Test Comparison Results' Ronit@XYZ.com < Count_Validation_Results_`date +%m%d%Y`.txt
Email Output:
----------Query 1 Count Validation Results--------
Source count is 4
Target... (7 Replies)
Discussion started by: ronitreddy
7 Replies
3. Shell Programming and Scripting
Is it possible to add Pager Notification to mailx command??
Or by any other mean.
just want to specify that by Pager i mean a message to the mobile number.
Suppose i have following condition
If ];then
send a message to 9999999999
else
no message to be sent
fi
Is it possible?
I... (5 Replies)
Discussion started by: Sharma331
5 Replies
4. Shell Programming and Scripting
I am using sed on Arabic file (utf-8 encoding) like bellow:
sed 's/./& /g' file
and all I get is:
1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
I tried change the LANG variable to
LANG=en_US.UTF-8
but I still get the same "?" output. What is the... (1 Reply)
Discussion started by: Viernes
1 Replies
5. Shell Programming and Scripting
Hi,
I have a requirement to send a mail with multiple files attached to it and along with the text message in the mail.
I am trying sumthing like below but it only sends me the text message and no files attached to the mail.
----------------------------------------
( uuencode file1... (1 Reply)
Discussion started by: sachinkl
1 Replies
6. UNIX for Dummies Questions & Answers
Hello all!!
i got a problem in the email content format in outlook which i mail it from a unix.
i want the content to be multiple lines as i see in unix, but the content is grouped into a single line instead in the email content.
The email content is made from tail of a file, and echo... (4 Replies)
Discussion started by: boydunshout
4 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I browsed thru the previous posts and couldnt find a solution for my problem. Hence I decided to post it.
I have a buffer array that I want to send thru a message queue. The array consists of a header structure and a payload structure memcopied to it. When I print the contents of the... (1 Reply)
Discussion started by: zeebie
1 Replies
8. Shell Programming and Scripting
Hi All,
I am trying to send a mail with an attachment and message. Following command I am using.
(cat <messagefile> ; uuencode <attachmentfile> <attachmentfile>)|mailx -s"Subject" dave@email.com
In the received mail, message body is appearing fine. But attachment is not coming. Rather... (2 Replies)
Discussion started by: nihar.dutta
2 Replies
9. Shell Programming and Scripting
hi all
i have script
#!/bin/bash
cd /usr3/prod
grep ERROR /usr3/prod/ind.log > /usr3/prod/ind_err.log
if test -s /usr3/prod/ind_err.log
then
echo "error during process"
else
echo "process succeed"
fi
i want that this message(echo) will be display one time at the top of the screen... (5 Replies)
Discussion started by: naamas03
5 Replies
10. Cybersecurity
Hi,
Does anyone have a script (for AIX) that sends a message to a user that his password will be expired within 5 days for ex.
Thanks (1 Reply)
Discussion started by: Diederd
1 Replies