04-28-2008
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a problem in sending mail ......
#!/usr/bin/perl -w
$file_length = `cat file.txt | wc -l`;
if ( $file_length == 0) {} else {
`mail -s "Tool" <mymailid> < file.txt`;
}
Eventhough i have used `uuencode Mailfile$App_Server$line | mail <mymailid>`;... (1 Reply)
Discussion started by: vijaysabari
1 Replies
2. UNIX for Advanced & Expert Users
Hi,
I have a problem in sending mail ......
#!/usr/bin/perl -w
$file_length = `cat file.txt | wc -l`;
if ( $file_length == 0) {} else {
`mail -s "Tool" <mymailid> < file.txt`;
}
Eventhough i have used `uuencode Mailfile$App_Server$line | mail <mymailid>`;... (2 Replies)
Discussion started by: vijaysabari
2 Replies
3. Shell Programming and Scripting
i'm a avid fan of making the output of my scripts look pretty. so as a result i put in my scripts a lot of lines that are formed by either ****** or =======
now, outlook seems to have a problem with that. it always removes something that it calls "line breakers" from the emails my scripts send... (5 Replies)
Discussion started by: Terrible
5 Replies
4. UNIX for Advanced & Expert Users
Hi All,
I am using mailx command in shell script to send mail with output files as attachment to my email id.
When my colleague is running the shell script (script code mentioned below), he is getting the mail but without attachment. Attachment is appeared as junk characters in mail... (4 Replies)
Discussion started by: nishant_pathak_
4 Replies
5. AIX
Everytime i try sending mails using the command line have a reply form the daemon saying :
? 1
Message 1:
From MAILER-DAEMON Wed Apr 25 10:42:36 2007
Date: Wed, 25 Apr 2007 10:42:36 -0500
From: Mail Delivery Subsystem <MAILER-DAEMON>
To: malarie
MIME-Version: 1.0
Content-Type:... (0 Replies)
Discussion started by: Netghost
0 Replies
6. Shell Programming and Scripting
I am calling a unix script in oracle to send a mail to outlook group using mailx. The cmd looks like this:
mailx -s "AA_BBB_" APPostServices@xyz.com
APPostServices@xyz.com isa group but the mail is not sent
but when i send mail to another group it works fine.
What are the things that i... (1 Reply)
Discussion started by: petervuksich
1 Replies
7. UNIX for Advanced & Expert Users
I am calling a unix script in oracle to send a mail to outlook group using mailx. The cmd looks like this:
mailx -s "AA_BBB_" APPostServices@xyz.com
APPostServices@xyz.com isa group but the mail is not sent
but when i send mail to another group it works fine.
What are the things that i... (1 Reply)
Discussion started by: petervuksich
1 Replies
8. Shell Programming and Scripting
Hi, I need to send a email as a txt file and i used the commands,
(echo `echo $EMAIL_MSG` ; uuencode "file.txt" "file.txt" ) | mailx -s "$EMAIL_SUBJECT" "$EMAIL_ID"
I received email with a attachment with all data but i get all of them in one row.
For example:
If file.txt contains value... (1 Reply)
Discussion started by: skcvasanth
1 Replies
9. Shell Programming and Scripting
Hi Team,
I have written the following code snippet to send mail with attachment to recipient. But I am getting mail with attachment. But the file is empty. All the 3 Attachment* size is more than 80KB.
Not sure what is wrong in the command.
MSG_BODY1="hi"
LOG_FILE="a/b/c/log1.log"... (2 Replies)
Discussion started by: kmanivan82
2 Replies
10. UNIX for Dummies Questions & Answers
I am trying to send a mail through terminal from last week still now I can't able to send it.If there is any resolution Please help me out of this problem.It is very urgent .
mail -s "check" upload.xxx@example.com < /root/mail.txt
# tail -15 /var/log/maillog
Sep 19 16:52:04 edms032... (15 Replies)
Discussion started by: kannansoft1985
15 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)