LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-06-2004, 06:41 AM   #1
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Rep: Reputation: 30
Unhappy command-line for sending email with attachment?


Hi there,

Very often I just need to put some files in a tar.gz and email them (actually to myself), so I create the tar file, open mozilla, attach the tar.gz file and finally send the email. Would it be possible to do all this with just with a couple of commands?

When trying to solve this issue, I found that with "pine" it is possible, but I've not this program and I cannot install it. Is there any solution using the "mail" command?

Thank you very much in advance...
 
Old 10-06-2004, 06:54 AM   #2
spariggio82
Member
 
Registered: Apr 2004
Location: Camporotondo Etneo, Sicily
Distribution: SuSE 8.2 SuSE 9.1 Fedora C1 Slackware 10.1 Knoppix 3.9
Posts: 174

Rep: Reputation: 30
mail command is used to read system mails.

I guess you're not your system administrator because you can't install pine. Isn't it???
 
Old 10-06-2004, 08:15 AM   #3
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Original Poster
Rep: Reputation: 30
Yes... I'm not root.

The problem is that I have not found a way to put an attached file with mail. I know I can make it to send a file (instead of STDIN), but only a text file which 'm not sure that I'ld be able to read afterwards...

Thank you for the reply :-)
 
Old 10-06-2004, 09:04 AM   #4
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Original Poster
Rep: Reputation: 30
Hi,

I think I found it. The command "shar" prepares files for being sent by email...

The weird thing is that I found it by writing "info mail". When I write "man mail" I get the documentation of "mail" :-/.

Thank you again...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
command-line email sending ixion Linux - Software 9 08-01-2008 07:46 AM
Sending an attachment from a command line RonnyNussbaum Linux - Software 12 06-04-2007 12:47 PM
sending mail from command line won't work disorderly Linux - General 2 06-09-2005 12:29 PM
sending msgs thru command line citrus Linux - Software 3 04-13-2004 03:39 AM
Sending Email's from command line jlaruffa Linux - Newbie 0 06-04-2003 04:31 PM


All times are GMT -5. The time now is 02:35 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration