Visit The New, Modern Unix Linux Community

I need technical support

Thread Tools
Contact Us Forum Support Area for Unregistered Users & Account Problems I need technical support
# 1  
I need technical support

I need to create script to send mail to different group mail is like is group name and this group having 10 members. so how i can add the name of group and it resolve the members email id from the group and send mail automatically? how to do it by unix cmds. please help me

here in export mailto= currently i am using different mail ids but i need to use group of mail ids in that place like

For using this group is there any need to do changes in permission of group and how.
please let me know
rm /base/app/etl/work/base_Disk_Space_Tuot.csv;
df -k /base/app/ > /base/app/etl/work/base_Disk_Space_Tuot.csv; 
export MAILFROM=""
export MAILTO=""
export SUBJECT="Attached Report For base_Total_Disk_Space_Utilization"
export BODY=""
export ATTACH="/base/app/etl/work/base_Disk_Space_Tuot.csv"
export MAILPART=`uuidgen` ## Generates Unique ID
export MAILPART_BODY=`uuidgen` ## Generates Unique ID
 echo "From: $MAILFROM"
 echo "To: $MAILTO"
 echo "Subject: $SUBJECT"
 echo "Hello Team,
Please find attached file for TOTAL SPACE FOR app!!!! 

 --------------- This is automated mail. Please do not reply to this mail------------------"
uuencode $ATTACH $(basename  $ATTACH)
 echo "--$MAILPART--"
) | /usr/sbin/sendmail $MAILTO

# 2  
Please note in the future we we create a new area on the site where unregistered users can post technical questions.

However, this particular forum is for user registration and other support questions related to the use of the forums.

Previous Thread | Next Thread
Thread Tools

Test Your Knowledge in Computers #950
Difficulty: Medium
The first academic work on the theory of self-replicating computer programs was done in 1949 by Alan Turing.
True or False?

1 More Discussions You Might Find Interesting

1. What is on Your Mind? Free Technical Support Infographic on YouTube

Still learning Adobe After Effects, I just put together this 1 minute infographic for the site. I could have done a better job with the resolutions of some of the "in laptop" screen shots; but then again, I'm not even close to being an expert on all these Adobe graphics tools, but I had fun... (0 Replies)
Discussion started by: Neo
0 Replies

Featured Tech Videos