On 08 Oct 12:46, Pierre-Louis Bonicoli wrote:
> On 08/10/2014 09:27, Cédric Krier wrote:
> > On 08 Oct 08:50, Nicolas Évrard wrote:
> >> Dale Scott [2014-10-08 06:25:05 +0200]
> >>>
> >>> Is the *only* purpose of client-side mail sending (from the Tryton
> >>> client) to send report attachments?
> >>
> >> Currently yes it is.
> >>
> >>> Is there a way to send reports from server-side?
> >>
> >> In that case you should create a module and use the smtp configuration
> >> of trytond (the tools module provides a function to get a smtplib SMTP
> >> client).
> > 
> > But be careful that currently sending email is not transactional. We
> > will need to implement two phase commit:
> > https://code.google.com/p/tryton/wiki/TwoPhaseCommit
> 
> Could not the email-queue module
> (https://github.com/openlabs/email-queue) be used ?

Using a SQL database for queueing is always wrong.
The only good way is two phase commit.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgpDfLNkpZRBR.pgp
Description: PGP signature

Reply via email to