I want to send an email from a Linux Shell script. What is the standard command to do this and do I need to set up any special server names?
Admitting you want to use some smtp server, you can do:
export SUBJECT=some_subject
export smtp=somehost:someport
export EMAIL=someaccount@somedomain
echo "some message" | mailx -s "$SUBJECT" "$EMAIL"
Change somehost, someport, and someaccount@somedomain to actual values that you would use.
No encryption and no authentication is performed in this example.