No content in the attached file when sending it via Mailx command on Solaris
Hi All,
I am trying to send a file using the Mailx command but when I receive the file I am getting an empty file. Below are the commands that I am using:
I get the file in the mail but when I open it , its empty, I can see the size of the file is also mentioned around 200Kb.
I am also getting a message like this in the mail body:
I have tried to send txt file, html file but still getting the same issue.
Moderator's Comments:
Please do wrap your samples/codes in CODE TAGS as per forum rules.
Hi,
I have tried to sent a mail with body and attachment. But the shell script got hanging while executing that command. The command is
"(cat body;uuencode att1.csv)|mailx -s "Production Monitoring Report(Unix Side)" milton.yesusundaram@patni.com"
where body is a file having a single line.... (2 Replies)
Hi
I want to sent attachment file which is 400mb size.(single file, not tar file)
is there any way that these kind of large files can be divided into small sizes and sent as attachments
thanks with anticipation (3 Replies)
Hi All,
Please help me regarding sending mails using mailx command in unix.
I will be glad if some one give me the sintax of this. I tried using the below but vain.
mailx -s 'Hi' 'xyz@abc.com'
Regards,
Manas (5 Replies)
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)
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)
How to embed a html file as subject in a mail sending from Linux box with uuencode or mailx or any other way?
we do not want the file as attachment, it should be embedded in the mail subject. (2 Replies)
How Can I send the content of a file in Expect? Do I have to use cat command in a way? if yes how? lets say my file is called 1.txt.
example:
expect "Enter command to send:" {send "???? \r"} ???? --> content of the file 1.txt (1 Reply)
Hi Friends,
Please help me with this problem.
I have a number of split files in a directory. each split files has pdf filenames in it. pdf files are also in the same directory.
I send a mail for each split files present in the directory with the pdf file mentioned in the file.
I have... (4 Replies)
I use uuencode in UNIX to send an attached .txt file to my e-mail.
The .txt file looks like this:
field_1;field_2;field_3
1;2;3
4;5;6
7;8;9
...
When the mail comes, with the attached file, it looks likt thuis:
field_1;field_2;field_3 ;1;2;3 ;4;5;6 ;7;8;9
The different lines are... (3 Replies)