Forum OpenACS Q&A: Re: Instructions on how to send emails from your package

Before anyone goes down that road:

Do not use ns_sendmail. acs-mail-lite is the central entity for mail sendin in OpenACS 5.2 and 5.3.

If you have tcllib installed it correctly works with the mime:: procs and allows sending of multipart e-mails with attachments (the procedure is called acs_mail_lite::complex_send).

Furthermore it has a switch to turn of mail sending alltogether (useful for your staging server) and allows the mail-tracking package to track all outgoing and (if you configured it correctly) incoming e-mail.