SendMail Command Line

what is the command line for sending an e-mail from the unix prompt using sendmail v8.0?
Who is Participating?
NetDudeFLConnect With a Mentor Commented:
sendmail user@host

:::Enter Message:::::

^D (Control-D)

Why would you want to send mail in such an arcane way?  =)
breadAuthor Commented:
I'm using this in a PERL script and it's the easiest way to do it.  That's all.  Thanks for the "A+" answer!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.