Package bodhi :: Module mail
[hide private]
[frames] | no frames]

Module mail

source code

Functions [hide private]
 
get_template(update) source code
 
send_mail(sender, to, subject, body) source code
 
send(to, msg_type, update, sender=None)
Send an update notification email to a given recipient
source code
 
send_releng(subject, body)
Send the Release Engineering team a message
source code
 
send_admin(msg_type, update, sender=None)
Send an update notification to the admins/release team.
source code
Variables [hide private]
  log = logging.getLogger(__name__)
  messages = {'comment': {'body': 'The following comment has bee...
  errata_template = '-------------------------------------------...
Variables Details [hide private]

messages

Value:
{'comment': {'body': '''The following comment has been added to the %(\
package)s update:

%(comment)s

To reply to this comment, please visit the URL at the bottom of this m\
ail

...

errata_template

Value:
'''-------------------------------------------------------------------\
-------------
Fedora%(testing)s Update Notification
%(update_id)s
%(date)s
----------------------------------------------------------------------\
----------

...