10 More Discussions You Might Find Interesting
1. 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
2. UNIX for Dummies Questions & Answers
Hi,
I was working on getting an HTML file in the mail body along with attaching a "csv" file to the mail.
Below are the 2 parts of the code.
I need help with the second part where I'm sending the mail. The HTML file as an attachment is perfect without any issues and with proper formatting.... (6 Replies)
Discussion started by: aster007
6 Replies
3. Shell Programming and Scripting
Hi All,
I am trying to send the contents of a file as email body. I am using html email and sendmail option of unix. I am using the below piece of code for the same :
#!/usr/bin/ksh
export MAILTO="email@domain.com"
export SUBJECT="Report"
export BODY="file_directory_path/test_file.txt"... (1 Reply)
Discussion started by: rockygsd
1 Replies
4. Shell Programming and Scripting
Hi guys . I am trying to take the output of top command and mail it to myself . The code is :
echo ##############################################################
/usr/local/bin/top c n 1 b >> /export/home/top-output.txt
echo ##############################################################
... (6 Replies)
Discussion started by: Junaid Subhani
6 Replies
5. Shell Programming and Scripting
i have to attach the 'body in the email' along with attachment below code is throwing errors, how can i do it ?
here body file contains message, it should display in email, please help
i am using HP-UX
(cat body ;) (uuencode attch1 attch1 ;) | mailx -m -s "testing" "abc@gmail.com"
... (4 Replies)
Discussion started by: only4satish
4 Replies
6. Shell Programming and Scripting
I have an HTML file I am currently sending in the body of an email. I now have a need to send a csv attachment along with it. I can ONLY use sendmail as mutt and xmail etc are not on the server.
Here is what I am currently using: It is possible to add code to add an attachment ??!?
{
... (8 Replies)
Discussion started by: atelford
8 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Is there a way to suppress this message?
Null message body; hope that's ok
My email string is:
mailx -s "This is my subject" myemail@domain.com < /dev/null
It's just an annoyance to me that I would like see go away. (3 Replies)
Discussion started by: bbbngowc
3 Replies
8. Programming
Hii can anyone pls tell how to limit the max no of message in a posix message queue. I have made changes in proc/sys/fs/mqueue/msg_max
But still whenever i try to read the value of max. message in the queue using attr.mq_curmsgs (where struct mq_attr attr) its giving the default value as 10.... (0 Replies)
Discussion started by: mohit3884
0 Replies
9. UNIX for Dummies Questions & Answers
Is there a limit (255 chars?) on the command line??
I'm trying to copy some generated java & class files from one dir to another and ID the old & new versions by:
find . -name FFSFIXADminCallbackBean.java
I then do a copy and paste of the source and target -
$ cp -p source target
It... (7 Replies)
Discussion started by: kornshellmaven
7 Replies
10. UNIX for Dummies Questions & Answers
First of all: Hi all, i´m a new unix user and i´m swedish so please bare with me.
When i generate an e-mail on a unix server and send it through novell netware 5, i loose the swedish characters å, ä and ö in the body of the message, however they remain in the subject row.
What to do? Anyone?... (4 Replies)
Discussion started by: de98luto
4 Replies