sendmail

package sendmail
Send emails using the sendmail program

Concerns

  • sendmail: Send emails using the sendmail program
    • sendmail: Send emails using the sendmail program

sendmail::sendmail

module sendmail

Send emails using the sendmail program

Usage example:

if sendmail_is_available then
    var mail = new Mail("from@example.com", "Title", "Content")
    mail.to.add "to@example.org"
    mail.send
else print "please install sendmail"
Introduces
  • Mail: An email to be sent using sendmail
Redefines
  • Sys: The main class of the program.