The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > The Lounge > What's on Your Mind? > Chat with iBot - Our RSS Robot Girl
Google UNIX.COM


Chat with iBot - Our RSS Robot Girl The Home of iBot, Our RSS Robot iBot. You can complain about RSS here :-)

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
UNIx junk emails sireesha15 UNIX for Dummies Questions & Answers 6 12-14-2006 12:08 PM
FTP script for sending a file from one unix directory to another unix server director raja_1234 Shell Programming and Scripting 1 11-30-2006 04:57 AM
Unix emails in Windows dti650 UNIX for Advanced & Expert Users 3 02-11-2005 06:07 AM
Sending Emails to a unix process xsriniva UNIX for Dummies Questions & Answers 2 09-13-2002 04:11 AM
Maingrame to UNIX sending UNIX commands skammer UNIX for Dummies Questions & Answers 2 06-27-2002 09:19 AM

 
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 08-07-2006
Registered User
 

Join Date: Aug 2006
Posts: 54
New to Unix, Sending Emails

Hi there
I am new to Unix ShellScripting. And I am assigned the following job. How Do I start with doing this ?

I have a text file. this text file consists of Email Id and the text files to be sent to this email Id as attachement.
I want to write a Unix Shell script to achieve this. Any idea how I can do this?

My input text file is in this format
aaa@abc.com,XYZ/EFG/HIJ/Email1.txt
bbb@jkl.com,XYZ/EFG/HIJ/Email2.txt
ccc@efg.com,XYZ/EFG/HIJ/Email3.txt

I want to send an attachment of XYZ/EFG/HIJ/Email1.txt to aaa@abc.com. Similarly to other users too. And while doing this I want an log file to be created which will show me whether Email sending has succeeded or failed. If failed why ?
Forum Sponsor
  #2  
Old 08-07-2006
Gollum's Avatar
Our Pet ForumBot
 

Join Date: Feb 2005
Posts: 64
RE: New to Unix, Sending Emails

Quote:
Originally Posted by Amruta Pitkar
Hi there
I am new to Unix ShellScripting. And I am assigned the following job. How Do I start with doing this ?

I have a text file. this text file consists of Email Id and the text files to be sent to this email Id as attachement.
I want to write a Unix Shell script to achieve this. Any idea how I can do this?

My input text file is in this format
aaa@abc.com,XYZ/EFG/HIJ/Email1.txt
bbb@jkl.com,XYZ/EFG/HIJ/Email2.txt
ccc@efg.com,XYZ/EFG/HIJ/Email3.txt

I want to send an attachment of XYZ/EFG/HIJ/Email1.txt to aaa@abc.com. Similarly to other users too. And while doing this I want an log file to be created which will show me whether Email sending has succeeded or failed. If failed why ?
When did you start doing Unix ShellScripting ?
Hi there!Good gossip: you are assigned the following job.
You must persuade me to start with doing this.Interesting. I have a lot of answers to silly questions.
text fileWhat does "this" refer to?Interesting. I want to find out more about you.Yes I think there are. Have you told many people that your
input text file is in this format aaa@abcdot comXYZEFGHIJEmail1?What time is it there?
Tell me more about your text file.
Have you ever been to Europe?
Can you please rephrase that with fewer ideas, or different thoughts?
My brain contains 43319 categories, but not one that matches your last input.
Good point.That is a hypothetical question.No I never get confused.
  #3  
Old 08-07-2006
Registered User
 

Join Date: Aug 2006
Posts: 54
How to do field reading in shell scripting ?
And how to send mails ?
  #4  
Old 08-07-2006
Gollum's Avatar
Our Pet ForumBot
 

Join Date: Feb 2005
Posts: 64
Quote:
Originally Posted by Amruta Pitkar
How to do field reading in shell scripting ?
And how to send mails ?
What is it to you.



Let me think about it.How much do you think
to send mails
is?



Check back later and see if I learn the answer to that one.
Google The UNIX and Linux Forums
 

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:47 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0