PyAMS_mail package
PyAMS mailing helper package
-
pyams_mail.
includeme
(config)[source]
pyams_mail features include
pyams_mail.include
PyAMS_mail.include module
This module is used for Pyramid integration
-
pyams_mail.include.
include_package
(config)[source]
Pyramid package include
pyams_mail.mailer
PyAMS_mailer.mailer module
This module provides a vocabulary of registered mailers utilities.
-
class
pyams_mail.mailer.
MailerVocabulary
(context, **kw)[source]
Bases: zope.componentvocabulary.vocabulary.UtilityVocabulary
Mailer vocabulary
-
interface
= <InterfaceClass pyramid_mailer.interfaces.IMailer>
-
nameOnly
= True
pyams_mail.message
PyAMS_mail.message module
This module provides classes which can automatically generate text part of an HTML message.
-
pyams_mail.message.
HTMLMessage
(subject, fromaddr, toaddr, html, text=None, encoding='utf-8')[source]
Create a MIME message that will render as HTML or text
-
pyams_mail.message.
TextMessage
(subject, fromaddr, toaddr, text)[source]
Create a text message
-
pyams_mail.message.
html_encode
(unicode_data, encoding='utf-8')[source]
Encode HTML
-
pyams_mail.message.
html_replace
(exc)[source]
Handle HTML conversion exceptions