Sponsored Content
Full Discussion: Mail to multiple reciepent
Top Forums Shell Programming and Scripting Mail to multiple reciepent Post 302094788 by arpitk on Wednesday 1st of November 2006 04:47:22 AM
Old 11-01-2006
Mail to multiple reciepent

Hi,

I have tried following command to send mail to a single user.

cat mail_body_file.txt | mail -s "This is subject" mail_ID@somedomain.com
What should I do to send a mail to number of Persons by including their mail ids in To and Cc field.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to send mail to multiple users ???

Hi All, How to send mails to multiple users using a single mailx command. Urgently require help Thanks in advance Rgds Arunava (3 Replies)
Discussion started by: arunava_maity
3 Replies

2. AIX

Not able to send out multiple file in mail

Hi All, I have AIX 5.3 server. I am not able to transfer multiple file in mail but I can send one file at a time. the following command I am using to send multiple file mail -s 'PICS EXP RATE Logs' lger@nd.com < /data02/transfer/*_experience_rate_log.txt but this not working. i can send... (2 Replies)
Discussion started by: vishalpatel03
2 Replies

3. UNIX for Dummies Questions & Answers

Search for multiple strings and mail accordingly

Hi, I need to find if there is any error in the last few lines of the log file and send a mail accordingly.For example, Following errors can be logged in the log file. ERR_1="DB Connection not established" ERR_2="Server Unloading" I need to find if these errors are found in the log file and... (3 Replies)
Discussion started by: AnneAnne
3 Replies

4. Shell Programming and Scripting

e-mail with multiple binary attachments!

Hi, I have to send email from UNIX with multiple excel attachments and the sender name needs to be customized (sender name need not to be UNIX user). I have checked many ways from this forum and other sources. But, nothing did work for me. Please help me! thanks, Raja. (1 Reply)
Discussion started by: smr_rashmy
1 Replies

5. Shell Programming and Scripting

How to send mail with multiple files attached?

Hi, I would like to send a mail with multiples files attached. Until now i was doing a "find" and then a "tar" of the text files. As I need to be able to read them on a mobile device such as Blackberry for instance, i would like to send them in one single mail, but without taring them. is... (2 Replies)
Discussion started by: Pierrito
2 Replies

6. Shell Programming and Scripting

Problem with multiple mail attachments

Hi everyone... I am facing problem with the multiple mail attachments. cd /work/mohan/pi_log/ mail_file='uuencode ahmedabad.csv ahmedabad.csv ; uuencode ahmedabad_devrpt_20110530.csv ahmedabad_devrpt_20110530.csv' ( $mail_file ) | mailx -m -s"test" domain@website.com its giving me error... (1 Reply)
Discussion started by: mohanm
1 Replies

7. Shell Programming and Scripting

Multiple files in one mail

Hello I'm using mail in liux to send files to users is there a way I can send multiple file withing one mail now I can send one file per mail mail -s "subject" user@domain.com < /var/file i have two more files to send file2 and fil3 but i want them to be in one mail ... (3 Replies)
Discussion started by: Sara_84
3 Replies

8. Red Hat

How to send mail with multiple attachments?

We don't have uuencode installed in our machines..... Please tell me how to send mail with multiple attachments ??? URGENT !!!!! Please tell me using command line (or) scripts.......... please...... Thanks in Advance.... (1 Reply)
Discussion started by: vamshigvk475
1 Replies

9. Shell Programming and Scripting

Send a mail to multiple users

I have a file 1.txt which has 3 mail ids as below: Maillist=abc@gmail.com def@gmail.com rcg@gmail.com Now I want to write a script which will read this file and send the mail to all the users present in this file. (6 Replies)
Discussion started by: Vivekit82
6 Replies

10. Shell Programming and Scripting

Mail command --> send multiple attachments

Hi, i try to send two (multiple) files by the mail-console-command mail -s TEST -a f1.pdf f2.pdf n.ame@ms123.de but it doesn't work. can someone give me a hint? Thanks in advance, IMPe (2 Replies)
Discussion started by: IMPe
2 Replies
mbot(1) 						      General Commands Manual							   mbot(1)

NAME
mbot -- Mail handling robot SYNOPSIS
mbot [-h] [-c configuration file] Description mbot is a generic purpose mail robot, written in python. The first goal while writting this piece of software was to provide some kind of web access (http) to people limited on mail (smtp). So mbot will receive some mail and make some action for you, then send you back a reply mail. The actions mbot will take are to be defined in its configuration file (see mbot.conf(5)) and depends on the available handlers : GoogleHandler Used to perform some search with the well known search engine UrlHandler This one allows to download some url and attach its content to the return mail, with the mime type properly set. NewsHandler You can also send some news (with images) to mbot, it will fill your database with it. Currently supported RDBMs are PostgreSQL and MySQL, so you will have to choose between PgNewsHandler and MyNewsHandler. PipeHandler This one will make mbot call an arbitrary given command! Options -h will print the help page. -c specifies the configuration file to use. If omitted mbot will look for it in his own directory. Install To install that mail bot, just add a line in your mail alias file, often found under /etc/aliases. If you use the exim MTA, be sure to add the option pipe_as_creator to your configuration, in the address_pipe section. Bugs There should be none... :) See Also mbot.conf(5) Authors mbot was writen by Dimitri Fontaine dim@tuxfamily.org and Christophe Truffier nah-ko@tuxfamily.org. mbot(1)
All times are GMT -4. The time now is 07:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy