05-13-2009
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I am trying to send a message to few users on an exchange server. I would like to put few of them as CC.
When I send it to myself and CC another user, I receive the e-mail and see the other e-mail address under CC but he doesn't receive the e-mail at all.
Any ideas ?
I am using... (1 Reply)
Discussion started by: mclevy
1 Replies
2. Shell Programming and Scripting
Hi..
How can i use mailx,mail command in Shell Script.
Suppose i gave a condition that x value is above 25 send a mail alert to abc@rediffmail.com.
How can i do this?
Regards
Sollin (16 Replies)
Discussion started by: sollin
16 Replies
3. UNIX for Advanced & Expert Users
Hi,
I have problems with the cc option in mailx command. Just went through some of the similar threads but none provides a satisfactory explanation.
I have a script using the mailx command in the following way:
(echo `cat mailsub.txt` ; uuencode attachment.csv attachment.csv) | mailx -s... (2 Replies)
Discussion started by: SmithaN
2 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
Please help me regarding sending mails using mailx command in unix.
I will be glad if some one give me the sintax of this. I tried using the below but vain.
mailx -s 'Hi' 'xyz@abc.com'
Regards,
Manas (5 Replies)
Discussion started by: manas6
5 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
Can you please help me in solving this. I am facing some problem sending mails.
If I use like this, I am able to send mail the mail
echo "This is an automated e-mail; please do not reply." | mailx -s "Good Morning ." 'abc@xys.com'
But if I use like this, then I am unable to send... (1 Reply)
Discussion started by: manas6
1 Replies
6. Shell Programming and Scripting
Hi
I need help to send mail through mailx command . Currenlt my program is like
#!/bin/ksh -x
echo " " >> path.lst
MAIL_LIST='someone1@gamil.com someone2@gamil.com someone3@gamil.com'
cat path.lst | mailx -s "path loaction" $MAIL_LIST
echo "End"
exit 0
Its work fine . But i... (3 Replies)
Discussion started by: mani_isha
3 Replies
7. Shell Programming and Scripting
Can anyone give me the code to carbon copy a mail using mailx command in HP-UX. I want to put the code in shell script. (3 Replies)
Discussion started by: makauser
3 Replies
8. Shell Programming and Scripting
I have to send a couple of rows that have been returned from a SQL query. I have written the output of the query to a file and while i try to print this in the mail body the formatting goes wrong.
Intended Output in mail body:
Col1 Col2 Col3
------ ... (2 Replies)
Discussion started by: qwertyu
2 Replies
9. Shell Programming and Scripting
Hi All,
I am trying to send a mail from linux server but could'nt able to send the mail.
I tried the below syntax's so far but no luck.
mail -s “Hello world” abc@xyz.com < /usr/g/txt.log
cat "txt.log" | mailx -s "Hello world" abc@xyz.com
mailx -s “Hello world” abc@xyz.com <... (2 Replies)
Discussion started by: scriptscript
2 Replies
10. Shell Programming and Scripting
Hi,
I am using HP-UX operating system and i am trying to send email using mailx command is given below.
below command is working fine.
(echo ~c 'define.d@aol.com'
cat $mail_body/temp_body)| mailx -s "Hi - This is mail subject" ${to_mail}
problem.
i want to use cc_maillist list(put... (13 Replies)
Discussion started by: krupasindhu18
13 Replies
LEARN ABOUT CENTOS
script-email
SCRIPT-EMAIL(8) System Administration Commands SCRIPT-EMAIL(8)
NAME
script-email - Amanda script to send email notifications
DESCRIPTION
script-email is an Amanda script implementing the Script API. It should not be run by users directly. It sends a notification email to the
addresses specified in the MAILTO property.
PROPERTIES
This section lists the properties that control script-email's functionality. See amanda-scripts(7) for information on the Script API,
script configuration.
MAILTO
List of email addresses that will receive an email on command execution. It is a multi-valued property:
property "MAILTO" "amanda@domain.com" "sysadmin@domain.com" "amandauser@domain.com"
EXAMPLE
In this example, script-email is scheduled to be run before the DLE, on the server. The unqualified email address amanda will be passed to
the email system unchanged. The script is then attached to a dumptype, which can then be specified for any DLEs which require
notification.
define script-tool pre-email {
comment "email me before this DLE is backed up"
plugin "script-email"
execute-on pre-dle-backup
execute-where server
property "mailto" "amanda"
}
define dumptype user-tar-email {
user-tar
script "pre-email"
}
SEE ALSO
amanda(8), amanda.conf(5), amanda-client.conf(5), amanda-scripts(7)
The Amanda Wiki: : http://wiki.zmanda.com/
AUTHORS
Jean-Louis Martineau <martineau@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Dustin J. Mitchell <dustin@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Amanda 3.3.3 01/10/2013 SCRIPT-EMAIL(8)