Re: [CentOS] how to send mail from console

2010-01-15 Thread m . roth
> Jussi Hirvi wrote: >> Here is what I use: >> >> mail -s "My email subject" m...@domain.com <$myfile >> >> On some (older?) systems the command is email instead of mail. Check >> man mail > > mail is the standard unix command. > Has been as long as I can remember, and I believe it is also par

Re: [CentOS] how to send mail from console

2010-01-15 Thread Michael A. Peters
Jussi Hirvi wrote: > Here is what I use: > > mail -s "My email subject" m...@domain.com <$myfile > > On some (older?) systems the command is email instead of mail. Check > man mail > > Regards, > Jussi mail is the standard unix command. Has been as long as I can remember, and I believe it

Re: [CentOS] how to send mail from console

2010-01-15 Thread Devin Reade
If you're using a typical residential broadband ISP, outbound SMTP may also be blocked by your provider as a mechanism to minimize mail abuse (spam). In such a case, you will need to configure your MTA (sendmail or whatever) to forward all mail through your ISP's official outbound mail server. You

Re: [CentOS] how to send mail from console

2010-01-15 Thread Kai Schaetzl
Jussi Hirvi wrote on Fri, 15 Jan 2010 18:28:54 +0200: > mail -s "My email subject" m...@domain.com <$myfile Note the end of the command! I think it needs a body to get sent! I'm using it here like some command | mail -s "My email subject" m...@domain.com 2>1 which mails me the output of the com

Re: [CentOS] how to send mail from console

2010-01-15 Thread Jussi Hirvi
Here is what I use: mail -s "My email subject" m...@domain.com <$myfile On some (older?) systems the command is email instead of mail. Check man mail Regards, Jussi On 15.1.2010 15:15, Roland Roland wrote: > Hi all, > > i'm trying to get a script to send me an email whenever a certain

Re: [CentOS] how to send mail from console

2010-01-15 Thread Timothy Murphy
Roland Roland wrote: > i'm trying to get a script to send me an email whenever a certain > condition takes place.. > i'm afraid i dont have experience with mail command nor anything else > related to sending emails for that matter.. > > i googled a bit and tried using mutt and mail ... > though i

Re: [CentOS] how to send mail from console

2010-01-15 Thread Les Mikesell
Roland Roland wrote: > Hi all, > > i'm trying to get a script to send me an email whenever a certain > condition takes place.. > i'm afraid i dont have experience with mail command nor anything else > related to sending emails for that matter.. > > i googled a bit and tried using mutt and mail

Re: [CentOS] how to send mail from console

2010-01-15 Thread John Doe
From: Roland Roland > i'm trying to get a script to send me an email whenever a certain > condition takes place.. > i'm afraid i dont have experience with mail command nor anything else > related to sending emails for that matter.. > > i googled a bit and tried using mutt and mail ... > though

Re: [CentOS] how to send mail from console

2010-01-15 Thread fred smith
On Fri, Jan 15, 2010 at 11:33:02AM -0200, Lincoln Zuljewic Silva wrote: > Look for erros in /var/log/maillog. Do you have sendmail running? > > On Fri, Jan 15, 2010 at 11:15 AM, Roland Roland > wrote: > > Hi all, > > > > i'm trying to get a script to send me an email whenever a certain > > condi

Re: [CentOS] how to send mail from console

2010-01-15 Thread Robert Heller
At Fri, 15 Jan 2010 15:15:48 +0200 CentOS mailing list wrote: > > Hi all, > > i'm trying to get a script to send me an email whenever a certain > condition takes place.. > i'm afraid i dont have experience with mail command nor anything else > related to sending emails for that matter.. > >

Re: [CentOS] how to send mail from console

2010-01-15 Thread Lincoln Zuljewic Silva
Look for erros in /var/log/maillog. Do you have sendmail running? On Fri, Jan 15, 2010 at 11:15 AM, Roland Roland wrote: > Hi all, > > i'm trying to get a script to send me an email whenever a certain > condition takes place.. > i'm afraid i dont have experience with mail command nor anything els

[CentOS] how to send mail from console

2010-01-15 Thread Roland Roland
Hi all, i'm trying to get a script to send me an email whenever a certain condition takes place.. i'm afraid i dont have experience with mail command nor anything else related to sending emails for that matter.. i googled a bit and tried using mutt and mail ... though i do not recieve any email