LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 04: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, 06: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, 06: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, 08: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, 09:57 PM   #5
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
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, 01:17 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

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


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 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 LinuxQuestions.org 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:15 AM.

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