Re: Queued mail sending
Re: Queued mail sending
- Subject: Re: Queued mail sending
- From: Musall Maik <email@hidden>
- Date: Wed, 29 Jan 2014 16:15:00 +0100
Am 29.01.2014 um 16:08 schrieb Þór Sigurðsson <email@hidden>:
> Don't queue the email - that's something the mail server itself is proficient at, not the WO framework (or any framework on top of that).
I’m not talking about re-inventing SMTP servers. But we had a case where the spooling filesystem of the SMTP server ran full, so it failed to accept any new email, and data got lost. I only want to ensure that nothing is silently lost while the app thinks the mail is safely on it’s way out.
> Instead, log the request - an email was requested. Send the email, and once the email has been sent, mark the request as handled.
> That way, if your Wapp happens to turn its toes towards the sky, it still has the current state at restart.
> And keep the log small. Very small. It should be fast end efficient (e.g. USERID:REQUEST_TYPE:DATE:(BOOL)HANDLED )
Where would the restarting app get the lost email content and metadata from?
Maik
_______________________________________________
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