12-03-2007
you can send mail this way:
echo "ERROR ERROR HD FAILURE" | mail -s "HD FAILURE"
me@you.com
Sounds like you want the system mails that goto the unix mail system to come to you instead, no ideal on that.. Make your own alert program to send mail alerts to you is another solution.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi
A) I am able to send eMail using mailx from a UNIX ( solaris 8 ) host to my Outlook-email-ID : FName.Surname@Citigroup.com ( This is NOT my actual -eMail-ID). But in Outlook the "From :" eMail address is displayed as
" usr1@unix-host1.unregistered.email.citicorp.com " .i.e the words... (2 Replies)
Discussion started by: Vetrivela
2 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
How do I send an email using malix where email address contains a #.
I have a email address like this : #test@test.com
I want to send email like malix -s "TEST" #test@test.com < SOMEFILE
I tried \# but doesn't work. Please let me know how we can achieve this?
I am in... (1 Reply)
Discussion started by: jingi1234
1 Replies
3. Programming
Hi,
I just wanted to know if there is any way to send email using C program on Unix.
Thanks for your help!
Julie (3 Replies)
Discussion started by: whatisthis
3 Replies
4. Shell Programming and Scripting
Hi,
I am new to Shell script programming. Can anyone explain How to Send Mail in UNIX. Can explain in detail please?
Thanks in Advance.
From
Sathish D V. (1 Reply)
Discussion started by: cooolthud
1 Replies
5. UNIX for Advanced & Expert Users
How to know whether I am able to send email from unix server or not?
I ma trying to send mail to my gmail id using command
sendmail -s "Subject" abc@gmail.com
Hi
How are you?
.
It showed that You are not allowed to send mail.
My question is there any file which contains the list of... (0 Replies)
Discussion started by: siba.s.nayak
0 Replies
6. UNIX for Dummies Questions & Answers
rshstatus=`rsh -n lilo /db/p2/oracle/names9208/restart_names.sh`
if $rshstatus <>0 then
errstatus=1
mailx -s "xirsol8dr" ordba@xxx.com >> $log_dr
else if errstatus=0
echo "status to xirsol8dr successful"
can anyone provide if this is t he correct way to do this or is there a better way? (1 Reply)
Discussion started by: bpm12
1 Replies
7. 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
8. Shell Programming and Scripting
Hi,
I am trying to send the contents of a file as email in unix.I am using the below code to do this.But when i get the email i see that SUBJECT and TO is blank. Can you please let me know why it is blank? Also the FROM address comes as admin@myhost. Is there any way i can set FROM to user... (5 Replies)
Discussion started by: vignesh53
5 Replies
9. Shell Programming and Scripting
HI Guys,
I want send email from my script ..and i have tried below command still no luck.
( uuencode $Adm "Test.txt" ) | mailx -s "Test" P***.P****@at***.com
mailx -s "test mail" P****.P***@at***.com < $Admin
Any other option.... (2 Replies)
Discussion started by: asavaliya
2 Replies
10. Shell Programming and Scripting
Hi
I have input file in solaris machine and my question is..,how to send email that input file to Microsoft outlook 2010 in excel /xls format. (5 Replies)
Discussion started by: buzzme
5 Replies
R2E(1) General Commands Manual R2E(1)
NAME
r2e - receive RSS feeds by email
SYNOPSIS
r2e [-d dir] action [options]
DESCRIPTION
r2e is a simple program which you can run in your crontab. It watches RSS feeds and sends you nicely formatted email message for each new
item.
The program is configured by ~/.rss2email/config.py by default. To use a different config file in a different directory, you can specify
the -d option before any actions.
For a quick start with r2e, try these steps:
r2e new your@address
r2e add http://feed.url/somewhere.rss
r2e run
The last command should eventually be put into your crontab, if you
want things be sent you automatically.
It is possible to use authenticated feeds using the following syntax:
r2e add http://user:password@example.com/feed
ACTIONS
new [youremail]
Create a new feedfile. If the second option is specified, it sets the default email address that mails are sent to.
add url [youremail]
Subscribe to a feed. The first option is the URL of the feed. The optional second option is the email address to send new items to.
Repeat for each feed you want to subscribe to.
run [--no-send] [num]
Scan the feeds and send emails for new items. This can be run in a cron job.
The --no-send option stops r2e from sending any email. This can be useful the first time you run it, as otherwise it would send every
available story.
If a number is specified, r2e will only download that feed. The list command lists the feed numbers.
email yournewemail
Change the default email address.
list List all your currently subscribed feeds.
delete n
Delete a feed, using its number from the list command.
pause n
Temporarily ignore a feed. A paused feed won't be updated at all.
unpause n
Re-enable updates from a feed.
opmlimport url
Import feeds from an OPML file.
opmlexport
Export feeds to standard output, as an OPML file.
CONFIGURATION
The program's behavior can be controlled via the ~/.rss2email/config.py config file. The file is a python file, so variables are set using
a syntax like this: VARIABLE = "value"
If the value is a number, the quotes may be omitted. Most configuration variables in the file are boolean values, where a 1 indicates the
option is set, and a 0 disables it.
See the example config.py file for a full list of available configuration variables.
FILES
~/.rss2email/feeds.dat
The database of feeds. Use r2e to add, remove, or modify feeds, do not edit it directly.
~/.rss2email/config.py
If this file exists, it it read to configure the program.
AUTHOR
Aaron Swartz <rss2email@aaronsw.com>
R2E(1)