12-19-2013
10 More Discussions You Might Find Interesting
1. AIX
Has anyone written a script to attach a file when sending an email using the mailx command? (1 Reply)
Discussion started by: mintu41
1 Replies
2. UNIX for Advanced & Expert Users
hello ,
i m new to linux/unix , well in my college their is linux server to which we all (i and my frnds) login
, we can send mail to each other through command "mail" .
but any one can tell me how can i attached a binary file with mail.
we are using red hat , "pine ", "mailx" , all... (2 Replies)
Discussion started by: alert_every1
2 Replies
3. Shell Programming and Scripting
hi,
i have the code as below
#!/bin/sh
MAIL=/usr/bin/Mail
Mail_addr="aaa@bb.com"
Mail_file="/home/delta/dev/aa.doc"
${MAIL} -s " health check" ${Mail_addr} < ${Mail_file} (6 Replies)
Discussion started by: mail2sant
6 Replies
4. Shell Programming and Scripting
Hi,
I usually write a file TEST.MAIL like this to send mails:
Importance: High
Priority: Urgent
X-Priority: 1 (Highest)
From: user
Subject: error
... text body ....
and then I launch it (or writre a c-chell that launchs it) by writing:
mail a@b.com < /users/.../TEST.MAIL
How can... (4 Replies)
Discussion started by: albaalbetti
4 Replies
5. AIX
Hi,
Could anyone please help me to send multiple files of .csv format in one mail.
Thanks
Aj (2 Replies)
Discussion started by: atinjain05
2 Replies
6. UNIX for Dummies Questions & Answers
Hi
The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment .
cat Employee.sql
SET VERIFY OFF
SET PAGESIZE 200
SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON -
HEAD... (0 Replies)
Discussion started by: mani_isha
0 Replies
7. Shell Programming and Scripting
Hi,
I want to send color text as body of mail with multiple attachments.How to do this?I used sendmailcommand but this command fails for multiple attachments.Give me some solution on this.
:wall: (0 Replies)
Discussion started by: AhmedLakadkutta
0 Replies
8. Shell Programming and Scripting
Hi All,
Is it possible to send mail in Unix with attachment.
If yes, then how?? (8 Replies)
Discussion started by: parthmittal2007
8 Replies
9. Shell Programming and Scripting
Hi All,
I need to send mail with attachment. I am using uuencode but it seems it is sending encoded file. I am getting the mail with attachment but there is no data even the file size is almost 90KB. Please help.
Thanks. (3 Replies)
Discussion started by: unankix
3 Replies
10. Shell Programming and Scripting
Hi,
I need to send attachment with email as external attachment. Presently, we are using uuencode to make an attachment but it is going as content of body. We are using below command.
uuencode "filename1" "filename2" | mailx -r "$SENDFROM" ${SENDTO}
In unix box, -a is not supportable... (1 Reply)
Discussion started by: vamshi929
1 Replies
LEARN ABOUT DEBIAN
awayrc
awayrc(5) User Manuals awayrc(5)
NAME
awayrc - configuration file for Away
DESCRIPTION
An away configuration file consists of a series of commands. Each line of the file may contain only one command. Command names are case-
insensitive. Commands and arguments are separated by spaces.
The hash mark, or pound sign ("#"), is used as a comment character. You can use it to annotate your configuration file. All text after
the comment character to the end of the line is ignored.
Take note that if any mailboxes are configured in the rc file, they will be the only mailboxes checked, which means that you must add your
inbox--the $MAIL environment variable will be ignored.
COMMANDS
mail VALUE
This command allows the user to disable or enable the checking of the user's mailboxes. If mail checking is disabled, all mailbox
and maildir commands are ignored. VALUE can be 0, 1, no, or yes. The default value is 'yes'.
mailbox FILENAME
A file that should be checked for "new mail." The filename will be appended to the previous maildir declaration. An optional
description of the mailbox may be supplied. If the description contains a space, the entire description must be enclosed in braces,
"{" and "}".
maildir DIRECTORY
A path where subsequent mailbox declarations will be located. The only argument is the path itself.
persist VALUE
This command will set whether to do persistent mail checking. VALUE can be 0, 1, no, or yes. The default value is 'yes'.
time SECONDS
This command will set the number of seconds that away sleeps before performing its background tasks. Presently, the only background
task that away will perform is the checking of mailboxes. The SECONDS value must be more than the minimum, which set at compile
time. The only argument is the number of seconds. The default value is 300.
EXAMPLE
# check mailboxes
mail yes
# check mail every 60 seconds
time 60
# do not do persistent checking
persist no
# inbox
maildir /var/spool/mail
mailbox johndoe {your Inbox}
# procmail folders
maildir /home/johndoe/mail
mailbox linux-security {Linux Security}
mailbox mutt-announce {Mutt Announce}
FILES
~/.awayrc
Per user configuration file.
BUGS
Bug reports should be sent to the away mailing list <away@unbeatenpath.net>.
SEE ALSO
away(1)
AUTHORS
Cameron Moore <cameron@unbeatenpath.net>, and others.
Linux November 2000 awayrc(5)