Sending email
Once logged into a UNLV CS server such as bobby.cs.unlv.edu
you can send email from the terminal (command line / shell prompt) as follows:
-
mail user@domain.edu
- This will prompt for a subject and then you can type the body of the mail
- Hit ctrl-d to send the mail --
EOT
(end of transmission) will be displayed
-
mail user@domain.edu < file.cpp
- This will send
file.cpp
in the body of the email with no subject line
- This will send
-
mail user@domain.edu,user2@domain.edu < file.cpp
- Same as above, but sends to two different email addresses
-
mail -s "subject line here" user@domain.edu < file.cpp
- Allows you to set the subject
Note: The from: address on your email will be your username @unlv.nevada.edu so replies to that email will go to your Rebelmail account.
For more details on using the Linux mail
utility, see this page.