core.modules.formmailer¶
Classes¶
This is a Skeleton-like class that acts as a container for Skeletons used as a |
|
Formmailer is the standard module to implement a form mailer for contact request or similar forms. |
Module Contents¶
- class core.modules.formmailer.MailSkel¶
Bases:
viur.core.skeleton.RelSkelThis is a Skeleton-like class that acts as a container for Skeletons used as a additional information data skeleton for
RelationalBone.It needs to be sub-classed where information about the kindName and its attributes (bones) are specified.
The Skeleton stores its bones in an
OrderedDict-Instance, so the definition order of the contained bones remains constant.- changedate = None¶
- class core.modules.formmailer.Formmailer(moduleName, modulePath, *args, **kwargs)¶
Bases:
viur.core.module.ModuleFormmailer is the standard module to implement a form mailer for contact request or similar forms.
- Parameters:
moduleName (str)
modulePath (str)
- mailTemplate = None¶
- index(*args, **kwargs)¶
- add(*args, **kwargs)¶
- canUse()¶
- Return type:
bool
- abstractmethod mailSkel()¶
- abstractmethod getRcpts(skel)¶
- getOptions(skel)¶
- onAdded(skel)¶