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 03: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 07:57 AM
Unix emails in Windows dti650 UNIX for Advanced & Expert Users 3 02-11-2005 09:07 AM
Sending Emails to a unix process xsriniva UNIX for Dummies Questions & Answers 2 09-13-2002 08:11 AM
Maingrame to UNIX sending UNIX commands skammer UNIX for Dummies Questions & Answers 2 06-27-2002 01:19 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-08-2006
Amruta Pitkar Amruta Pitkar is offline
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 ?
  #2 (permalink)  
Old 08-08-2006
Gollum's Avatar
Gollum Gollum is offline
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 (permalink)  
Old 08-08-2006
Amruta Pitkar Amruta Pitkar is offline
Registered User
  
 

Join Date: Aug 2006
Posts: 54
How to do field reading in shell scripting ?
And how to send mails ?
  #4 (permalink)  
Old 08-08-2006
Gollum's Avatar
Gollum Gollum is offline
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.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:10 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0