LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2006, 05:45 AM   #1
preddibear
LQ Newbie
 
Registered: Aug 2006
Posts: 6

Rep: Reputation: 0
Email Client in Linux using command line only


Hi,
does anyone here know where I can get a small email client (SMTP) so that I can use the small application in my embedded linux? I want it to be small, without any GUI needed.
anybody who has an idea?
 
Old 09-29-2006, 07:03 AM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
elm: http://www.instinct.org/elm/doc/Users.txt
and mutt: http://www.mutt.org/

are the only two I know of.
 
Old 09-29-2006, 07:38 AM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
There's also Pine.
 
Old 09-29-2006, 09:31 AM   #4
taylor_venable
Member
 
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

Rep: Reputation: 43
Assuming this is for scripting and such, you might take a look at the command-line "mail" command that comes builtin to most Unix-like operating systems. I think the most common implementations are called "mailx" and "nail". With these, there's not even any curses interface, although (like Mutt's default configuration) they rely on a local SMTP server to get the message out. [There may be a way to configure that, but I don't know it.]

Another alternative, again assuming a mostly non-interactive nature, would be to simply write a solution in C or Perl or something. It's not too terribly hard to write a program (especially in a language like Perl) to connect to an external SMTP server and send a message. I wrote a small one in Python that essentially forwards Mutt emails to external SMTP servers. I've also written about a ten-liner SMTP client in Ruby.
 
Old 09-29-2006, 10:57 PM   #5
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,493

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
I am completely happy with sendEmail (I am not *quite* sure about the character case!)

I use it a lot in various scripts which monitor something on my servers. If something interesting happens, I send myself an e-mail messages from the script. It is just one line with a handful of options. It has never failed. However it does need a SMTP server to relay your mail.

jlinkels
 
Old 10-01-2006, 02:17 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
//nothing to do wtih networking. moved.
 
  


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
send email from command line djionel82 Programming 6 11-29-2005 01:12 AM
command-line email success darthtux LinuxQuestions.org Member Success Stories 4 09-01-2003 12:57 AM
command line email with attachments??? crickett Linux - Software 1 06-24-2003 09:47 PM
command-line email client ixion Linux - General 4 02-11-2003 03:28 PM


All times are GMT -5. The time now is 12:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration