LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-01-2005, 10:28 AM   #1
branden_burger
Member
 
Registered: Dec 2004
Posts: 66

Rep: Reputation: 15
email from BASH


Hello people.
Any ideas as to how to send email from the shell? I hear one can use the mail or mailx commands - and if so, do I need to have an MTA running on the system?

Thanks
 
Old 03-01-2005, 10:52 AM   #2
xowl
Member
 
Registered: Jan 2005
Distribution: Slackware current (and others)
Posts: 188

Rep: Reputation: 30
try pine
 
Old 03-01-2005, 09:52 PM   #3
Gibsonist
Member
 
Registered: Mar 2004
Location: Meersburg (GER)
Distribution: Cygwin,RH 7.2 7.3, SuSe 6.4 8.2 9.1,TinyLinux, Debian Sarge, Knoppix 3.*, Knoppicilin, Knoppix STD
Posts: 191

Rep: Reputation: 30
you can also try mutt or mh on your system
about the MTA I can't answer that as I never really thought bout that

if you want to use mail you
th syntax is
Code:
mail -s 'subject'  receiver <ENTER> Your text you wanna send
the mail ends with a single dot (.) on the last line
after this my version asks for CC which you can simply leave blank and finished.
 
  


Reply



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 Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running the bash with email and the works Dralnu Linux - Software 5 08-15-2005 05:24 PM
Write a script to send an email from bash kpelczar Linux - Software 5 02-09-2005 04:19 PM
bash: email file as attachment mikeshn Programming 5 11-08-2004 10:17 PM
bash script to email updated ip ericnmu Linux - Networking 1 10-01-2004 10:30 PM
bash script, parsing email addresses kepler Programming 6 01-26-2004 06:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration