For much less pain, see: http://en.wikibooks.org/wiki/Programming:WebObjects/Project_WONDER/Frameworks/ERJavaMail

On Jun 28, 2006, at 11:41 PM, Art Isbell wrote:

JavaMail is complex.  I understand only the bare minimum that allowed me to build a replacement for WOMailDelivery which can be unreliable.  To make WOMailDelivery easily replaceable, I created a JavaMailDelivery class that uses JavaMail underneath and reimplemented WOMailDelivery.composePlainTextEmail() as JavaMailDelivery.composePlainTextEmail().  I basically copied the implementation of send() at <http://www.javaworld.com/javaworld/jw-10-2001/jw-1026-javamail.html> adding exception handling where needed and relying on properties in the Properties file rather than hard-coding their values.  It works fine.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to