* 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).

Then you can call the report and send the received data through the
SMTP client.

-- 
Nicolas Évrard - B2CK SPRL
E-mail/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: signature.asc
Description: PGP signature

Reply via email to