10 More Discussions You Might Find Interesting
1. 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
2. Red Hat
Whats the difference between mail and mailx?
I'm trying to troubleshoot a problem where I can send mail from server A with this `echo $MESSAGE | mail -s "$SUBJECT" -r $FROM $RECIPIENTS` command but executing the same command from server B throws me this error (Both servers are RHEL)
... (1 Reply)
Discussion started by: RedSpyder
1 Replies
3. Shell Programming and Scripting
Hi,
i have the following code in shell named as test3.sh..
#!/bin/sh
. /home/<user>/.profile
export dt=`date "+%d%b%y"`
export tim=`date "+%d%b%y %HM:%MM"`
cd
export WD=`pwd`
SID="<sid>"
export SID
export ORACLE_SID=$SID
export ORACLE_HOME=/oracle/$SID/102_64
export... (4 Replies)
Discussion started by: jassi10781
4 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
I have a unix server on which mailx is configured . Earlier i was getting proper mails but now some mails are getting stuck and i am not receiving the emails from the server.
I can see the mails in mailq.
Can you please help me with this . How can i receive these emails? (2 Replies)
Discussion started by: pratikm23
2 Replies
5. Shell Programming and Scripting
Hi,
I am trying to send html email using mailx like follow on sh shell (Bourne) on HP-UX:
mailx -s "Test HTML output in outlook
MIME-Version: 1.0
Content-Type: text/html" receiver@host.com < file.txt
Content of file.txt are as follows:
<html>
<h2>An important link to look at!</h2>... (3 Replies)
Discussion started by: manubatham20
3 Replies
6. 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
7. Shell Programming and Scripting
Hi All,
OS:Red Hat Linux 4 86x64
Below is my shell script which is not sending mail to the mail recipient:
#!/bin/bash
export MAILLIST="xyz@yahoo.com"
cd <path_to_the_script_perf_report.sql>
sqlplus / as sysdba @perf_report.sql
if
then
cat <path_to_the_script/*MONTHLY*REPORT*.lst... (6 Replies)
Discussion started by: a1_win
6 Replies
8. Shell Programming and Scripting
Hi
I need help to send mail through mailx command . Currenlt my program is like
#!/bin/ksh -x
echo " " >> path.lst
MAIL_LIST='someone1@gamil.com someone2@gamil.com someone3@gamil.com'
cat path.lst | mailx -s "path loaction" $MAIL_LIST
echo "End"
exit 0
Its work fine . But i... (3 Replies)
Discussion started by: mani_isha
3 Replies
9. Shell Programming and Scripting
while trying to send a mail, though the output file doesn't contain any exclamatory mark(!), i am getting that in the mail with an extra line. please help me out from this ASAP. (3 Replies)
Discussion started by: pvamsikr
3 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