Email Isis software documentation

Email

This library defines some simple functions for sending electronic mail in Isis.


Sending email

(sendmail servername sender receiver message) (sendmail servername sender [ receiver receiver ... ] message) # alt. form You can send an email message from inside Isis by calling the sendmail procedure with the mail server machine to use, the sender address, the receiver address or list of receiver addresses, and the message, all as strings. (Yes, it is possible to forge the sender's address.) This procedure returns True if successful, or Null if not.

This procedure connects to the sendmail server on the machine you specify in order to send the messages. Here are a few examples:

(sendmail "media.mit.edu" "sender@media.mit.edu" "receiver@media.mit.edu" "Hi Alex. You are a fool.") (sendmail "media.mit.edu" "sender@media.mit.edu" ["user1@media.mit.edu" "user2@media.mit.edu" "user3@media.mit.edu"] "Banjo man is back and better than ever.")


Requirements:
Scripts: (load "sendmail.isis")