Can't understand how to use sendmail

view full story

http://forums.fedoraforum.org – I am attempting to use sendmail out of the box in fedora 12 (maybe my first mistake? Is there anything which needs setting up?). My impression of how to use this (based on tutorials on the internet and reading the man page) is that you do something like the following: Code: [User@Computer mail]$ sudo sendmail -t [sudo] password for User: To: [email protected] From: [email protected] Subject: hello message body . I don't really know if this is right, but I can't find any sites that say otherwise. This is based mostly on looking at a couple bash scripts I read, which seemed to do this. Obviously, however, this doesn't work. Is there anyone out there who knows what I'm doing wrong. (HowTos)