Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.