Re: WOMailDelivery sendEMail result?
Re: WOMailDelivery sendEMail result?
- Subject: Re: WOMailDelivery sendEMail result?
- From: Kieran Kelleher <email@hidden>
- Date: Thu, 15 Sep 2005 11:11:18 -0400
Hi Miguel,
ERMailer.woa is just a WebObjects application. It is not just an
example of using ERJavaMail. It depends on the ERCoreBusinessLogic
framework. The ERCoreBiz frmrk contains the EOModel representing the
ERCore database.
After setting up ErMailer and dependencies, all you have to do is
include the ERCoreBix frmrk in your own app and create email EO's ...
easy! Meanwhile ERMailer using a timer checks periodically for email
EOs in rtbs (ready to be sent) state in the database. When it sees them
it processes them and sends the emails represented by the email EOs.
So just build and deploy ERMailer on your server and let it run. Run 2
instances if you like for faster email processing, but remember you may
be throttled by your smtp provider anyway _and_ if you have only one
server, you will be sucking up bandwidth wile sending thousands of
mails.
There was a few minor tweaks required to get it working, but AFAIK, one
of the PW committers was fixing these.
Here are my notes on all that and some of the tweaks/patches for Aug
3rd source which may or may not be needed in the latest source.
http://homepage.mac.com/kelleherk/iblog/C183784902/E490825431/index.html
http://homepage.mac.com/kelleherk/iblog/C183784902/E1355648743/
index.html
Regards,
-Kieran
________________________________________________________________
Blog: http://webobjects.webhop.org/
On Sep 14, 2005, at 6:57 PM, Miguel Arroz wrote:
Hi!
On 2005/09/14, at 23:22, Kieran Kelleher wrote:
Project Wonder is really the biggest and most elaborate collection of
open-source WebObjects frameworks, projects, etc. For a newbie, it
can be a bit daunting, but it can save you a lot of effort once you
poke around and get familiar with it enough to put it to use. I have
found ERExtensions, ERJavaMail, ERMailer, ExcelGenerator to be very
useful for common stuff.
What does ERMailer does exactly? I thought it was an example app
using ERJavaMail...
It is essential to get a few of the good reference books such as
Practical WebObjects.
It should be flying here by now from Amazon! ;-)
Remember WO is java, so you can more or less drop any jar library you
want into the classpath, import the packages and use the classes
anywhere. Also work with WO, not against it, if you want an easy life
.... especially study APIs and understand the roles of WOComponent
and EOEditingContext and EOGenericRecord.
I read some documentation during August about Enterprise Objects, I
think I have it quite well known by now. WOComponent needs some study!
:) But, being used to Cocoa, WO is not that different from a
conceptual point of view. Actually, it's the first framework I use for
web apps where I fully understand what the heck is going on under the
hood! :)
Thanks for your help!
Yours
Miguel Arroz
"I felt like putting a bullet between
the eyes of every Panda that wouldn't
scr*w to save its species." -- Fight Club
Miguel Arroz
http://www.ipragma.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden