title: How to send an email using sendmail command?
body: <p>I installed sendmail on CentOS but did not configure it and started it as daemon. Can I send an email using the sendmail command like,
  sendmail admin@remotedomain.com &lt; ./myemailcontent
  I have no luck with this command. It seems to connect to 127.0.0.1 then times out.
  I think sendmail will connect to the remote smtp server(remotedomain.com) to deliver the email but it seems to use local smtp server to relay the email. How can I use sendmail to send an email?</p>