The Carbon Java Framework  

The Carbon e-Mail Module

E-Mail Service Requirements

Printer Friendly Version

Author: Nitin Gulati (ngulati at sapient.com )
Version: $Revision: 1.2 $($Author: ghinkl $ / $Date: 2003/05/09 20:24:35 $)
Created:

Requirements

The email service should be able to send plain text and html mails with or without attachments. Currently this service only supports synchronous mail sending.

Exceptions
The Service would throw a MailFailureException, when unable send the message.
Logging
The service should log the messages that were not send.
Extensibility
Good. The interface is generic enough to plug open source implementations like jakarta if required in future.
Messaging
We currently hard-code exception messages in the calls to exceptions. Is there a way to make them localizable, perhaps through extensible exceptions.

Copyright © 2001-2003, Sapient Corporation