unable to send mail from UNIX



Hi,

I own mac OSX. I am learing scripting language using bash. I tried to
send a sample mail to my yahoo and gmail account using mail and mailx,
but I could not.

Here is the command that I used.
mailx -s "Subject" "receiver@xxxxxxxxx" < output.txt

Do I have to configure these programs before I can send emails?

thanks in advance for your help.

Papu.

.



Relevant Pages

  • unable to send mail from UNIX
    ... I am learing scripting language using bash. ... send a sample mail to my yahoo and gmail account using mail and mailx, ...
    (comp.unix.admin)
  • Re: unable to send mail from UNIX
    ... I am learing scripting language using bash. ... > send a sample mail to my yahoo and gmail account using mail and mailx, ...
    (comp.unix.admin)