10-16-2007
How to write a shell script to send an email to an id
Hi all,
I want to know how to send an email using shell script .....
I tried a command call mail but it did not work..
Please any one reply.. With example if you know thanks..
Madhu
10 More Discussions You Might Find Interesting
1. Solaris
Friends,
I am in search for a shell script that is capable of running as a cronjob and have to send out an email when ever there is a CORE DUMP.
Please post the hints to achieve my goal.
Thanks in advance. (1 Reply)
Discussion started by: rtatineni
1 Replies
2. Shell Programming and Scripting
Hi All
i am writing a shell script which will search for a string "expires". once the search string is found it has to give the email address as the output and send an email to the person
This is basically to find the encrypetd keys which are loaded in the unix server
Below are sample... (10 Replies)
Discussion started by: ranga27
10 Replies
3. Shell Programming and Scripting
Hi all, Please suggest
I want to write a scritp which will send a email to my mail address before the time duration of the password reset,
Should write mail stating that your password will expire in so and so days""
Rgds:b:
Ann. (2 Replies)
Discussion started by: Haque123
2 Replies
4. Shell Programming and Scripting
Hi,
Someone Knows how to obtein a chain from a unix file, but not all the line, for exemple, for this file ,obtein only 902111111 and to keep the value, this value will be used to make a mailx.
NF=ALL,
SUBJ=
FROM: SN=CD, SE=TOPCALL, NA=, N=902111111, N=TCLFI
TO: SE=FAX, NA=, C1=... (0 Replies)
Discussion started by: peybol
0 Replies
5. Shell Programming and Scripting
Hi All,
I am new to the unix , i have to deliver one script very urgently
I have to write a shell script where i have i want to send email to specific email id
in this script i want
FROM to be parameterized and stored in a variable
TO to be parameterized and stored in a variable... (3 Replies)
Discussion started by: nileshbhawsar
3 Replies
6. Shell Programming and Scripting
Hello ,
I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them .
I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
Discussion started by: nairshar
2 Replies
7. Shell Programming and Scripting
Hi Friends,
Could you guys help me out of this problem... I need to send an email to all the users and the email has to be picked from the text file.
text file contains the no. of records like:
giridhar
224285
847333
giridhar276@gmail.com
ramana
84849
33884
venkata.ramana@gmail.com... (6 Replies)
Discussion started by: giridhar276
6 Replies
8. Shell Programming and Scripting
Hi Guys,
I have this script which will monitor oracle db process if up or down.And I want it to send email if it's down and the time it's back to online. However my script just keep on sending "Email Up" if the db is up or "Email Down" if the db is down.Is there any way to trap it so that it... (5 Replies)
Discussion started by: d3xt3r
5 Replies
9. Shell Programming and Scripting
This is my below script which is working fine as it send only plain text email.
So My question is- How can I modify my below script to send this as an HTML formatted email? I want to show the text color of this expression `(echo "100*$TEST2/$TEST1" | bc -l)` as `RED` in an email and that can be... (3 Replies)
Discussion started by: raihan26
3 Replies
10. UNIX for Beginners Questions & Answers
HI Team,
I am working on reading hive table and send email in email body using shell script, can you please help on fixing the errors: I have 6 columns in my hive table and trying to send the email in the mail body.
below script:
#!/bin/bash
hive -e 'SELECT count(*) from db.table' >... (4 Replies)
Discussion started by: Mi4304
4 Replies
LEARN ABOUT DEBIAN
rt-email-dashboards-4
rt-email-dashboards(8) Request Tracker Reference rt-email-dashboards(8)
NAME
rt-email-dashboards - Send email dashboards
SYNOPSIS
rt-email-dashboards [options]
DESCRIPTION
This tool will send users email based on how they have subscribed to dashboards. A dashboard is a set of saved searches, the subscription
controls how often that dashboard is sent and how it's displayed.
Each subscription has an hour, and possibly day of week or day of month. These are taken to be in the user's timezone if available, UTC
otherwise.
SETUP
You'll need to have cron run this script every hour. Here's an example crontab entry to do this.
0 * * * * /usr/bin/perl /opt/rt4/local/sbin/rt-email-dashboards
This will run the script every hour on the hour. This may need some further tweaking to be run as the correct user.
OPTIONS
This tool supports a few options. Most are for debugging.
-h
--help Display this documentation
--dryrun
Figure out which dashboards would be sent, but don't actually generate or email any of them
--time SECONDS
Instead of using the current time to figure out which dashboards should be sent, use SECONDS (usually since midnight Jan 1st, 1970,
so 1192216018 would be Oct 12 19:06:58 GMT 2007).
--epoch SECONDS
Back-compat for --time SECONDS.
--all Ignore subscription frequency when considering each dashboard (should only be used with --dryrun for testing and debugging)
perl v5.14.2 2013-05-22 rt-email-dashboards(8)