Hi,
I am using Sun solaris OS unix server
I am trying to send mail with an attachment using below script
Code:
cat test.txt;uuencode test.txt test.txt|mailx -s "$subject" someone@somewhere
I m getting mails but with no attachment.
Hence i manipulate the script as below and i am getting the mail with attachment
Code:
cat test.txt;uuencode test.txt test.txt|mail someo
Hi All,
I am new to unix. I have written the script to identify the delimiter count for my source file and the output I have to capture in another file and that file should sent to mail with attachment. I have tried to send the attachment with below script . But I am not able to do that.
Hi,
In my Linux am unable to send attachment to mail . Since pkgs for mutt and uuencode is not possible to install any other options for sending attachment will be useful.
Tried the below options but its not working.
im able to install postfix on my ubuntu server. no issues. but ican't send mail.
i dont know what to put for the "relayhost". i've googled this endlessly but i'm clueless. isn't there a general smart host i can use that'll allow me to send?
i dont care for receiving mail. i just want to be able to send mail using the the unix "mail" command. any ideas?
Hi,
I have create a unix prog file to validate data and send out an email. Below is the command used to send out email in the program. But it is not triggering the email.
Hi All,
my requirement send a mail with attachment a abc.txt file.
below is the shell script.
Code:
#!/usr/bin/ksh
set -x
#DIR=/appldata/download/mail
MAILTO="krupa.behera@kk.com"
SUBJECT="Report"
BODY="Hi All,"
ATTACH=/projects/psoft/hrdw/pushreports/crons/temp_out
#ATTACH1="$DIR/ahmed1.csv"
(
echo "To: $MAILTO"
echo "Subj
HI All ,
I am getting below errors .
Server error:501#5.1.3 Partial domain NOT allowed:'' or
Error IN sending mail Server error:501#5.1.3 Partial domain NOT allowed:'
I am using unix script to call filename.csv and send into outlook mail as attachment.Though file is present but i never receive the mail .
This issue is not permanent .Sometimes i find no error ,it executes successfully w
dear all,
I have never configured "mail" on linux. Now I need to use a script to email me a report once every day. Till now, I have been using Thunderbird and use the SMTP /IMAP server in my campus to send and receive mail
I want to know how to use the mail command from the command line to send mails.
hello Gurus
i have tp tackle a condition like below
I have two files to check for any data in it apart from header if one of the file has data I have to send mail given the file name
So far my code is
Code:
if [ $count_file1 != 1 ]|| [ $count_file2 != 1 ] ; then
(printf "%s\n%s\n" "Please check the below bad files: " $Bad_files/$file_name1 $Bad_files/$file_name2