Home » Infrastructure » Linux » send mail script- Help (RHEL 5 server)
send mail script- Help [message #496605] Tue, 01 March 2011 04:41 Go to next message
kiran_j
Messages: 7
Registered: April 2010
Location: Pune
Junior Member
Hi,

i have written one script for sending mails with attachment.

currently its working for only one recipient.

i want to send the mails to n number of users by taking user input i.e number of users.

Output of current script:


Enter how many files : 1

Enter First Name : kiran
E-Mail ID: kiran.j@test.com

Enter file name : send_mail.sh
File Path : /apps12i/send_mail.sh




Expected output:


Enter how many files : 1

Enter number of users : 2

Enter 1 name : kiran
Email-ID:kiran.j@test.com

Enter 2 name : karan
Email-ID: karan.j@test.com

Enter file name : send_mail.sh
File Path : /apps12i/send_mail.sh

can anyone help me on this?????
  • Attachment: send_mail.txt
    (Size: 2.10KB, Downloaded 1854 times)
Re: send mail script- Help [message #496629 is a reply to message #496605] Tue, 01 March 2011 09:00 Go to previous message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
what does problem or solution have to do with Oracle RDBMS?
Previous Topic: runinstaller will not run
Next Topic: How to convert Blocks to MB
Goto Forum:
  


Current Time: Thu Mar 28 03:42:15 CDT 2024