LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 11-01-2007, 12:02 PM   #1
uid0sd
Member
 
Registered: Aug 2006
Distribution: Mac OS X, Debian, Ubuntu
Posts: 37

Rep: Reputation: 15
Use exim to attach file


Hello.

From the command line, how would you attach a file & mail it out using exim?
 
Old 11-01-2007, 12:21 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,950
Blog Entries: 11

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Exim is an MTA (Mail transport agent) that doesn't concern itself
much with attachments. You want to use mutt, mailx, nail or some
other MUA (Mail user agent) to do the attaching ... for mutt this
looks something like:

Code:
echo "Message ..."| mutt -s Subject -a file recipient

Cheers,
Tink
 
Old 11-01-2007, 01:40 PM   #3
uid0sd
Member
 
Registered: Aug 2006
Distribution: Mac OS X, Debian, Ubuntu
Posts: 37

Original Poster
Rep: Reputation: 15
Thanks for the speedy response, works fine! A round of beers for Tink...!
 
Old 11-01-2007, 02:01 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,950
Blog Entries: 11

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Welcome, and thanks for the beer; could do with some despite the early hours ;}



Cheers,
Tink
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
amixer attach default error - no such file or directory kite10linux Linux - Software 5 11-24-2009 10:16 PM
LXer: Tips and tricks: How do I use the "xm block-attach" command to attach additiona LXer Syndicated Linux News 0 08-21-2007 12:50 AM
want to attach a file with my message . nesta Programming 1 10-09-2006 10:33 AM
How can I attach a compressed file to /dev/loop0 (for filesystem image recovery)? rjlee Linux - General 0 09-26-2004 04:11 PM
How to Attach a file on my thread? extremebfn LQ Suggestions & Feedback 5 09-05-2004 10:03 PM


All times are GMT -5. The time now is 08:11 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