
Yes -
please look at the function IDandEM.R
(This stand for IDentification and EMail)

in there it has a complete function that uses
the autoemail function - I use this all the time.

There is a logical  option (SEND)
on whether to actually mail the
file to the recipient.

The IDandEM function compares two lists
(one from the exam the other from
the list that stores the email addresses) and matches these before mailing
the scores to the students.  I do this to help prevent accidentally
mailing students the wrong grades.
In the U.S. that would be a very serious breech of protocol.

I usually do not run the autoemail directly because of this.



-- 
Jonathan M. Lees
Professor
THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL
UNC-CH Geological Sciences
Mitchell Hall
104 South Road
CB 3315
Chapel Hill, NC  27599-3315
TEL: (919) 962-1562
FAX: (919) 966-4519
jonathan.lees@unc.edu
http://www.unc.edu/~leesj



-- 
View this message in context: http://r.789695.n4.nabble.com/Cran-packages-ProfessoR-how-to-Automatically-email-a-file-to-an-address-using-the-perl-program-tp2335184p2337984.html
Sent from the R help mailing list archive at Nabble.com.

	[[alternative HTML version deleted]]

