RE: Catching Bounced emails with WebObjects
RE: Catching Bounced emails with WebObjects
- Subject: RE: Catching Bounced emails with WebObjects
- From: "Clark, Igor" <email@hidden>
- Date: Wed, 22 Sep 2004 15:15:08 +0100
If you're on Unix, you could set up an account or a mail alias and pipe
incoming messages to that name (using .forward or your SMTP server's
equivalent) to a simple shell script which passes the whole thing across to
a DirectAction via an HTTP POST (use the command POST on OSX), or depending
on what you want to do maybe a perl script which parses the mail for the
info you want and calls a Direct Action, at which point you have your reply
data in WO world and you can do as you please with it. I once got something
working where sendmail piped it to a Java programme which parsed the
incoming message, constructed the necessary objects and transmitted them to
a WOapp via SOAP.
I've used this SMTP-daemon-pipe-to-script method on Solaris, Linux and OSX
and it works just fine. The only problems come when you start trying to
manage bounces automatically because you'll find that there are plenty of
mail servers out there in the wild which ignore RFCs and don't send proper
delivery status notifications so you end up having to either guess, assume
worst cases or have manual intervention with some of the bounces. If you're
just dumping the whole thing over to a WOApp which your users will use to
look at the data, you shouldn't have these problems.
No doubt there are SMTP servers you can run on Windows which can do the same
stuff, but as you have sendmail and sh and perl ready and waiting on Unix
(is it Postfix by default on OSX these days?) it seems more straightforward.
Hope this is of some help (or at least interest!).
Cheers
Igor
-----Original Message-----
From: Owen McKerrow [mailto:email@hidden]
Sent: 22 September 2004 00:45
To: WebObjects
Subject: Catching Bounced emails with WebObjects
Hi All,
Im working on a website which is a customer feedback management system.
My customer is very concerned about the emails they send back to there
clients not reaching the clients and being bounced back ( due to
incorrectly entered email address on the clients behalf ). So to over
come this problem they wanted the email to have a reply to address of a
real email account, which they can check for bounced emails.
Because they want to keep all communications logged in the database,
there is a link (to a direct action ) in the email which, if the client
wants to make a further response, we ask them to click on and then fill
out there further response in a web page.
However some clients are just pressing the "Reply To" button on their
email.
So what Im wondering is there any way to set the email up so if someone
press the "Reply Button" that the email is sent back to my webobjects
app and I catch it there. Hmm just thinking about that know Im not sure
even that would work.
Anyways thats the problem and Im open to suggestions on possible
solutions.
Any ideas ? Anyone ?
Thanks
Owen
'The test of a first-rate intelligence is the ability to hold two
opposed ideas in the mind at the same time and still be able to
function.'
-F.Scott Fitzgerald,
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
ca.com
This email sent to email@hidden
_______________________________________________
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