Re: Receiving Emails
Re: Receiving Emails
- Subject: Re: Receiving Emails
- From: Kieran Kelleher <email@hidden>
- Date: Wed, 13 Dec 2006 09:56:17 -0500
Sounds good/better!
On Dec 12, 2006, at 3:38 PM, Pascal Robert wrote:
I wanted to use JavaMail (IMAPFolder and the like), I already have
code for it (I have a couple of "scripts" that use JavaMail for
reading mail from an IMAP server), it's just that the WebObjects
version will almost be pure Java.
If you do, then Apache Jakarta Commons/Net library might be a good
place to start.
http://jakarta.apache.org/commons/net/
Regards, Kieran
On Dec 12, 2006, at 2:08 PM, Pascal Robert wrote:
I was thinking about adding methods to ERJavaMail to read emails
from either POP3 and IMAP, but I fear my level of code will not
good enough for Wonder :-( I will at least try to write an how-to.
I've been thinking of writing a variation on ERIMAdaptor (the PW
WOAdaptor that turns instant messages into WORequests, etc) that
would be ERMailAdaptor. It would pop/imap from an account and
make the emails appear to be incoming requests to your app (via
a specific direct action). This would allow you to receive
email requests, process them however you like, and return a
WOComponent response that would reply to them. This is
BASICALLY how ERIMAdaptor works ... I haven't actually started
writing this one yet, it's just on my to-do list.
ms
On Dec 12, 2006, at 8:51 AM, Pascal Robert wrote:
You can receive all mails in a POP3 or IMAP account, read them
with JavaMail, uses RegEx for the subject, store the content in
the database and delete the email on the mail server (POP3 or
IMAP).
Hello -
What do people do to automatically receive emails and then
post to the database say the content of
the email depending on the subject line?
Thanks
James Cicenia
_______________________________________________
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