LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 01-23-2005, 03:17 PM   #1
nutthick
Member
 
Registered: Jun 2004
Distribution: Slack
Posts: 214

Rep: Reputation: 30
bash command line smtp mail


Is there a way to script sending an email directly from the command line by specifying an SMTP server, address and subject? I have a script that I want to email it results to me, but I don't want to install SendMail or something similar.

Thanks

Last edited by nutthick; 01-23-2005 at 03:21 PM.
 
Old 01-23-2005, 03:23 PM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
use ssmtp .. it will install links from "sendmail", so its a bit sendmail compatible ... from what i know, it doesn't include a server, only a client, just use it from the command line and it should work

other smtp client only things include: nbsmtp ... and i forget the rest ...
 
  


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
Bash Script, no new line for echo command jorisb Linux - General 5 11-05-2005 01:08 AM
bash, command line ftp, and a delimma.. scoob8000 Linux - Networking 2 03-18-2005 06:22 PM
bash shell command line expansion hansi umayangan Linux - General 2 03-13-2005 12:31 PM
incorperate Bash as command-line in program GŠutama Programming 0 12-22-2003 06:14 AM
Using mail from the command line rkaran Linux - Newbie 1 12-19-2002 12:54 PM


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