Previous topic

5.10. lifecycle — Utilities to manipulate lifecycle

Next topic

5.12. models — models for openPLM

This Page

Languages

Previous versions

1.2
1.1

5.11. mail — Tools to send mails

This module contains a function send_mail() which can be used to notify users about a changement in a PLMObject.

plmapp.mail.get_recipients(obj, roles, users)[source]
plmapp.mail.convert_users(users)[source]
class plmapp.mail.CT(app_label, module_name, pk)[source]

Bases: object

app_label
module_name
pk
classmethod from_object(obj)[source]
get_object()[source]
plmapp.mail.serialize(obj)[source]
plmapp.mail.unserialize(obj)[source]
plmapp.mail.send_mail(subject, recipients, ctx, template, blacklist=())[source]
plmapp.mail.send_histories_mail(plmobject, roles, last_action, histories, user, blacklist=(), users=(), template='mails/history')[source]