On 08 Oct 08:50, Nicolas Évrard wrote: > * Dale Scott [2014-10-08 06:25:05 +0200] > > Hi Pierre-Louis, thank you for clarifications. > > > > > On Oct 7, 2014, at 9:11 PM, Pierre-Louis Bonicoli > > > <[email protected]> wrote: > > > > > >> On 08/10/2014 01:53, Dale Scott wrote: > > > > > >> Assuming trytond does send mail server-side, I am trying to > > >> understand why both are required - in my situation I require all mail > > >> be sent server-side to avoid needing user workstation configuration. > > > > > > The SMTP configurations of the client and the server are unrelated: > > > mails sent by the Tryton client use the configuration of the 'mail > > > reader'. > > > > 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 -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/
pgpNx2bi2x_Jq.pgp
Description: PGP signature
