[CSC 335] Sending e-mail with attachments on cobra
Andrew Pounds
pounds at sandbox.mercer.edu
Sat Aug 29 08:48:19 EDT 2015
If you are on cobra it is pretty simple to send me an e-mail with one or
more attachments. At the command prompt type the following
mail -a attachement.java pounds_aj at mercer.edu
You will then be prompted for a subject line. Once you enter that you
can enter your e-mail message. This is important -- you END the message
by hitting <CTRL>D. That is, you hold down the Ctrl key on your
keyboard while you hit the "d" key. Once you do this you will see "EOT"
(which stands for end of tape -- another way of the program signifying
that it has reached the end of its input) and the message will be sent.
If you want to send multiple attachments, just put additional "-a"
commands on the mail line. I just sent two programs to myself a few
minutes ago using the command...
*cobra:~ %* mail -a master.f -a triangle.f pounds_aj at mercer.edu
Subject: Testing attachments
This is a test.
EOT
*cobra:~ % *
Since I am teaching multiple classes that are using cobra, please make
sure that you give me a descriptive subject line and also please include
your class (CSC 330, CSC 335, CSC 485, etc).
You can obviously send e-mail to me from other locations using your own
email programs. I just wanted you all to know that this option is
available to you for things where you might be struggling with code and
need an easy way to send it to me.
--
Andrew J. Pounds, Ph.D.
Professor of Chemistry and Computer Science
Mercer University, Macon, GA 31207 (478) 301-5627
http://faculty.mercer.edu/pounds_aj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20150829/16ec35e4/attachment.html>
More information about the csc335
mailing list