The email sending API consists in 2 parts for now:
- a CubicWebConfiguration.sendmails() method that send emails using smtp (with no support for tls nor authentication),
- a SendMailOp (a SingleLastOperation) which is in fact the real public API to send emails in CW.
The "internal" API should be refactored:
- because it makes no sense (IMHO) to have it as a method of the Configuration class (even if some config options -- read 'smtp-host' and 'smtp-port' -- may be used to be able to deliver emails),
- to be able to easily implement alternative email sending "backends" (eg. nullmailer)