Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

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

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, 06:03 AM   #2
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
and mutt:

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

Rep: Reputation: Disabled
There's also Pine.
Old 09-29-2006, 08:31 AM   #4
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, 09:57 PM   #5
Senior Member
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Stretch/Sid, Linux Mint DE
Posts: 4,632

Rep: Reputation: 711Reputation: 711Reputation: 711Reputation: 711Reputation: 711Reputation: 711Reputation: 711
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.

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

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


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

All times are GMT -5. The time now is 08:04 AM.

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