Queued mail sending

2014-01-29 Thread Musall Maik
Hi folks, how do you queue outbound email in WO apps? We use an 10+ years old custom implementation of a WOMailDelivery replacement, and I also looked at ERJavaMail. Both seem vulnerable to the same problem: if the application composes a mail, hands it over to the mailing framework, and the

Re: Queued mail sending

2014-01-29 Thread Þór Sigurðsson
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). 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

Re: Queued mail sending

2014-01-29 Thread Jesse Tayler
also, mailing services like Mandrill (sp?) typically have APIs that have success/failure returns and that might be both easier and more reliable than setting up your own SMTP and ERWhateverMail just a thought — perhaps others can chime in. On Jan 29, 2014, at 9:56 AM, Musall Maik

Re: Queued mail sending

2014-01-29 Thread Pascal Robert
One alternative would be to write the email to the filesystem and have the delivery manager to send it to the SMTP server (I *think* Postfix can do that). - Mail original - De: Musall Maik m...@selbstdenker.ag À: Development webobjects-dev@lists.apple.com webobjects-dev@lists.apple.com

Re: Queued mail sending

2014-01-29 Thread Musall Maik
Am 29.01.2014 um 16:08 schrieb Þór Sigurðsson th...@samgongustofa.is: 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

Re: WOLips for Eclipse 4.3.1

2014-01-29 Thread Ken Anderson
Frank, While I volunteered to look at this at the last meeting, I have not had the time. I would love to help, especially if you’ve gotten something going already which would alleviate the dreaded “figure it out first” problem. Ken On Jan 21, 2014, at 8:00 PM, Frank Cobia frank_co...@me.com

Re: Queued mail sending

2014-01-29 Thread Pascal Robert
Yep, it's the pickup part of Postfix. http://www.postfix.org/pickup.8.html - Mail original - De: Pascal Robert prob...@macti.ca À: Musall Maik m...@selbstdenker.ag Cc: Development webobjects-dev@lists.apple.com webobjects-dev@lists.apple.com Envoyé: Mercredi 29 Janvier 2014 10:09:51

Re: Queued mail sending

2014-01-29 Thread Samuel Pelletier
I do not know the nature of the email you sent but im many case, it is useful to have some trace of the fact an email was sent with some indication of the content. The goal is not to replace the mail server queue, the mail server has many other responsibilities, it is to manage the app message

Re: Queued mail sending

2014-01-29 Thread Ramsey Gurley
Have you looked at https://github.com/nullterminated/ponder/tree/master/ERCoreBL and https://github.com/nullterminated/ponder/tree/master/AWSPlugin ? We send more than 10,000 emails per day with that, mostly in one big lump. We queue up messages that aren’t time critical and the mail

Re: Queued mail sending

2014-01-29 Thread Musall Maik
Am 29.01.2014 um 17:58 schrieb Samuel Pelletier sam...@samkar.com: Usually, I prefer to create some sort of persistent queue that contains only meta data about the email to send. The application code fill the queue to create message to send. This queue can manage the SMTP failure and also

Re: Queued mail sending

2014-01-29 Thread Musall Maik
Am 29.01.2014 um 19:47 schrieb Markus Ruggiero mar...@ruggiero.ch: On 29.01.2014, at 16:15, Musall Maik m...@selbstdenker.ag wrote: Am 29.01.2014 um 16:08 schrieb Þór Sigurðsson th...@samgongustofa.is: Don't queue the email - that's something the mail server itself is proficient at,

Re: Queued mail sending

2014-01-29 Thread Musall Maik
Am 29.01.2014 um 18:54 schrieb Ramsey Gurley rgur...@smarthealth.com: Have you looked at https://github.com/nullterminated/ponder/tree/master/ERCoreBL and https://github.com/nullterminated/ponder/tree/master/AWSPlugin ? We send more than 10,000 emails per day with that, mostly

Re: Queued mail sending

2014-01-29 Thread Pascal Robert
You don't use need to host your apps or database on AWS to get the SMTP stuff, it's a standalone feature. It does cost a bit of money (but it's really cheap). But your first task is to install Nagios to monitor the disk space on the SMTP server :-P - Mail original - De: Musall Maik

Re: ERJQueryMobile - Switch to jqm 1.4

2014-01-29 Thread ISHIMOTO Ken
Hi Stefan, I think that is great, have seen that the changed like crazy. Looking forward. Greetings KEn 2014/01/28 10:44、Stefan Klein stefan.kl...@buero-sde.de のメール: Hi, I will start a new project using jQueryMobile. I used ERJQueryMobile (thanx Ken) in on other project. In the next

Re: Queued mail sending

2014-01-29 Thread Samuel Pelletier
Maik, Your queue processor is responsible to ensure the message is passed to the next step (the SMTP server). It may even have multiple options available like a secondary server. The point about storing only meta data is to save space, batch emails send information already in the system. For