Hi
I want to send a mail (to my id like abc@xyz.com) from a shell script running on HP Ux.
Would like to include text from a file or include the file as attachment, either ways.
Thanks
Sidhu (6 Replies)
Please help me in writing the script for sending an attachment through email.(For example my text file name is :abc.txt and it is in directory d:/abc) (1 Reply)
hi guys,
I need a shell script to send mail automatically to my personal mail id like xxxx@hotmail.com but while experimenting with "mail" command I faced following problems.
cat text1.txt | mail -s 'test mail' xxxx@hotmail.com
command successfully executed
but while
checking for... (4 Replies)
hi I need help urgently...i need to write a shell script which can solve the following problem....its urgent plz help me out coz m totally newbie in shell scripting....
the problem is:
Suppose I have a folder called logs. whenever some error occurs some correspondence error file is generated.
I... (4 Replies)
Hi ,
I am trying to create shell script which will help me to compare file name in two folder.
There is a multiple file store in 2 folder.I want to compare that with the name.
If all the file are same then send a mail that "all date is same"
if not then create one log file which contain... (4 Replies)
Hello All,
I m trying to send mail from my unix script,
I have used the below command
mailx -s 'hi' email address < temp.txt
It is not giving me any error,but I couldn't receive the mail
Can you please help me.
Many Thanks,
Pragyan (6 Replies)
I am in need of a script that will send out emails while going through a NAT. What I have that works is as follows:
display_remote_IP | sort | uniq | while read i
do
FOUND=0
for IP in `echo $ACCEPTABLEIP`
do
if ; then
FOUND=1... (2 Replies)
I have make an menu in which first option is to start and second is to stop the services
echo "Please enter the appropriate choice for doing the operations"
echo "
1) STOP Services
2) START Services
case $choice in
1)
... (1 Reply)
Hello every one.
I use mutt :
"mpack -s "Test" /home/pi/Pictures/2018-10-05_23_10_40.jpg my_email_addres "
to send me a particular picture with the name of the data+jpg in a pictures folder, but this folder I use it for a timelapse proyect with more pictures , and what I need is... (2 Replies)
Discussion started by: maxbcn
2 Replies
LEARN ABOUT PLAN9
bundle
BUNDLE(1) General Commands Manual BUNDLE(1)NAME
bundle - collect files for distribution
SYNOPSIS
bundle file ...
DESCRIPTION
Bundle writes on its standard output a shell script for rc(1) or a Bourne shell which, when executed, will recreate the original files.
Its main use is for distributing small numbers of text files by mail(1).
Although less refined than standard archives from ar(1) or tar(1), a bundle file is self-documenting and complete; little preparation is
required on the receiving machine.
EXAMPLES
bundle mkfile *.[ch] | mail kremvax!boris
Send a makefile to Boris together with related and files. Upon receiving the mail, Boris may save the file sans postmark, say in
gift/horse, then do
cd gift; rc horse; mk
SOURCE
/rc/bin/bundle
SEE ALSO ar(1), tar(1), mail(1)BUGS
Bundle will not create directories and is unsatisfactory for non-text files.
Beware of gift horses.
BUNDLE(1)