04-09-2007
Sending mutiple files thru email to lotus notes
Hi All,
I am currently using the following script to send the single file to one/more email addresses. I need to send mutilple files at same time, are there anyway I could modify the script or write new one to accomplish the same.
Script
***************
#!/bin/ksh
# Author: Manish Vijayvergiya
# Purpose: Script to mail the processed error reports
# ModDate: 20070329
# Create the list of users to mail
export MAILLIST="richard@coty,manish_vijayvergiya@coty"
export MAILCMD=$(which mail)
# Mail the report to the prospective users
${MAILCMD} -s "Error Reports for $(date +%x)" ${MAILLIST} < /ec/rpt/err/pperrorOTHR10.rpt
******************************************
Thanks in advance, please help me.
Manish
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
We have been trying to get an email from unix to Lotus Notes to work. We finally got it to work with the following code:
cat filename | uuencode filename | mailx -s "subject title" email address
Now our problem is that Lotus Notes doesn't show the paper clip icon, indicating an attachment... (3 Replies)
Discussion started by: cowgilm
3 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
I have searched the FAQ and find that there is some threads related to this subject.
But can you please give an examples on how to send attachment to Lotus Notes email through UNIX?
Since i have gone through the RFC and the URL. But i still have no idea on it.
Please give some... (7 Replies)
Discussion started by: wilsonchan1000
7 Replies
3. UNIX for Advanced & Expert Users
Does anyone know if you can run Notes on a SunBlade? This is the last program I need to completely get away from all MS boxes, if I can run my Notes on my Blade I won't need this ratty MS box!
Thanks!
JP (4 Replies)
Discussion started by: jpeery
4 Replies
4. UNIX for Dummies Questions & Answers
I am using mailx command to send automated emails from the Unix to Lotus notes. Recently we got a requirement to send all emails as encrypted emails. I am not sure how I can encrypt an email using unix. Please help!!
Thanks (3 Replies)
Discussion started by: Anamika
3 Replies
5. Shell Programming and Scripting
Hi,
is there any way Unix shell script can directly read a mail on a mail server
(Lotus notes) and save it as a text file in a unix directory ?
For eg mail can be at abc@xyz.com and the same should be stored at
home/script on def.com (0 Replies)
Discussion started by: misenkiser
0 Replies
6. Shell Programming and Scripting
Hi All,
We have requirement to send lotus notes email attachment to mutiple users.
Each user has a separate file name ,but the file name and mail id will be same
please help urgent
Thanks (2 Replies)
Discussion started by: gwrmk
2 Replies
7. Solaris
Hello,
I have tired the commands like below to send a email with an attachment to IBM lotus notes
uuencode filename filename | Mail -s "subject" addr
uuencode filename filename | mailx -s "subject" addr
uuencode filename filename | sendmail addr
All of three command work. But I can... (0 Replies)
Discussion started by: babykings
0 Replies
8. UNIX for Advanced & Expert Users
Hi everybody!
I needto send a mail with several attachments to a foreign recepient using the following command line:
neo$ (cat mailbody; uuencode file1 file1.txt; uuencode file2 file2.txt) | mailx -m -s "Mail with two attachments" john.hancock@mailserver.com
The result is just fine on... (3 Replies)
Discussion started by: marvin70
3 Replies
9. AIX
Hi,
I am new to UNIX and any help is greatly appreciated.
Requirement:
Need to check the directory and if the directory has some files then an email needs to be sent to the email ID on Lotus Notes.
I need help on sending an email to email ID on Lotus Notes notifying that the files... (3 Replies)
Discussion started by: neetutg
3 Replies
10. Shell Programming and Scripting
Hi,
is there any way Unix shell script can directly read a mail on a mail server
(Lotus notes) and save it as a text file in a unix directory ?
For eg mail can be at abc@xyz.com and the same should be stored at
home/script on def.com
Thanks in advance,
CD (2 Replies)
Discussion started by: cdprasad.ait
2 Replies
LEARN ABOUT DEBIAN
mlmmj-send
mlmmj-send(1) General Commands Manual mlmmj-send(1)
NAME
mlmmj-send - send mail to a mailinglist or similar
SYNOPSIS
mlmmj-send [-L /path/to/list | -l listctrl] -m /path/to/mail [-a] [-D] [-F] [-h] [-o] [-r] [-R] [-s] [-T] [-V]
-a: Don't archive the mail
-D: Don't delete the mail after it's sent
-F: What to use as MAIL FROM:
-h: This help
-l: List control variable.
-L: Full path to list directory
-m: Full path to mail file
-o: Address to omit from distribution (normal mail only)
-r: Relayhost IP address (defaults to 127.0.0.1)
-R: What to use as Reply-To: header
-s: Subscribers file name
-T: What to use as RCPT TO:
-V: Print version
DESCRIPTION
This binary is used to send all kinds of mail to mlmmj managed mailinglists, but can potentially be used standalone for sending mails.
The only option that is not self explanatory is the -l list control option:
'1' means 'send a single mail'
This is used together with -F and -T to send one mail to one recipient.
'2' means 'mail to moderators'
Used for sending mails to the moderators of a list.
'3' means 'resend failed list mail'
'4' means 'send to file with recipients'
'5' means 'bounceprobe'
'6' means 'single listmail to single recipient'
BUGS
This manual page is very scarce documentation of the mlmmj-send binary. The reason for this is that it's really not supposed to be used by
any human, but only supposed to be invoked from other mlmmj binaries. So in case more documentation is needed, please read the source.
AUTHORS
This manual page was written by the following persons:
Soren Boll Overgaard <boll@debian.org> (based on html2man output)
Mads Martin Jorgensen <mmj@mmj.dk>
mlmmj-send January 2010 mlmmj-send(1)