On 08/10/2014 01:53, Dale Scott wrote:
> Is there a general rule for which events in Tryton can be expected to
> send mail?

With 3.2, the cron tasks (when an error occurs) [1] and the module
calendar_scheduling [2] send mails using the SMTP server configured in
'trytond.conf'. Default parameters are: host 'localhost', port '25', no
authentication, without ssl/tls [3] (you don't need to uncomment the
default values).

> I see the only mail-related modules for Tryton 3.2 in pip/pypi[4][5] 
> appears to be openlabs_email_queue[6]. Does this module have any 
> relevance for base modules I have installed, or is this module only 
> relevant to a new module that is specifically coded to use it?

"electronic-mail" [4] is a partial implementation of the blueprint for
email integration [5] and was previously named "trytond_electronic_mail".
"openlabs_email_queue" [6] is another unrelated module.
Both modules have one thing in common: they are developed by OpenLabs.

> It appears from the Tryton GUI (Options > Email) that a client-side
> mail client can be invoked to send mail, but the Tryton GUI
> documentation refers to a "mail reader"[7]. Am I correct that the
> purpose is to send mail (not read), and if so, what examples based on
> experience are there for a user needing to send mail client-side?

Indeed, the purpose is to send mail (according to Wikipedia 'email
client' and 'email reader' are synonyms [7]), for example to send a
report as an email attachment. See also the Email widget used in
'Contact Mechanisms' form of the view 'Party'.

> 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'.

[1] http://hg.tryton.org/trytond/file/0d923063b3d8/trytond/ir/cron.py#l126
[2]
http://hg.tryton.org/modules/calendar_scheduling/file/a13ecbad4b3a/calendar_.py#l220
[3] http://hg.tryton.org/trytond/file/0d923063b3d8/trytond/config.py#l67
[4] https://github.com/openlabs/electronic-mail
[5] https://code.google.com/p/tryton/wiki/EmailIntegration
[6] https://github.com/openlabs/email-queue
[7] http://en.wikipedia.org/wiki/E-mail_reader

--
Pierre-Louis

Reply via email to