|
From: Darren D. <da...@da...> - 2003-10-06 22:03:24
|
Juergen, Rod, Dmitry, I just pricked my ears up some way into this discussion: > I know that this is completely different than the current mail support > model. The main difference is that there is no attempt to abstract > JavaMail completely, rather a helper for simplified usage like > HibernateTemplate. I don't see much value in complete abstraction anyway: > What alternative implementations might there be? Lotus Notes/Domino has an enormous corporate install base (many millions of seats), so an abstraction that allows plugability of either JavaMail or native Notes Mail might potentially be of great interest to some commercial users. Me for one! Notes servers can be configured to offer SMTP, but companies that use Notes tend only to use SMTP at gateway servers and rely on the native Notes mail services internally. Often, all mail destined for external (internet) recipients will still have to originate on internal mail servers with no SMTP. The API proposed would allow a Notes/Domino implementation using the interface MailSender, and SimpleMessage could probably be extended directly to offer the richer notes options and different handling of attachments and encryption to JavaMail. I'm not proposing adding such an implementation to Spring, but simply point out that it would be worthwhile to have the abstraction. Maybe a future example implementation and mini-project for the website or something would suffice. -- Darren Davison Public Key: http://www.davison.uk.net/key.jsp |