gws.plugin.email_helper
¶
Email sending helper.
Source code: gws.plugin.email_helper
Package Contents¶
- class gws.plugin.email_helper.Config(*args, **kwargs)¶
Bases:
gws.Config
Mail helper settings
- mailFrom: str = ''¶
Default ‘From’ address.
- smtp: SmtpConfig¶
SMTP server configuration.
- class gws.plugin.email_helper.Message(*args, **kwargs)¶
Bases:
gws.Data
Email message.
- bcc: str¶
Bcc addresses.
- html: str¶
HTML content.
- mailFrom: str¶
From address (default if omitted).
- mailTo: str¶
To addresses, comma separated.
- subject: str¶
Subject.
- text: str¶
Plain text content.
- class gws.plugin.email_helper.Object¶
Bases:
gws.Node
GWS object tree node.
- mailFrom: str¶
- smtp: _SmtpServer¶
- configure()¶
Configuration hook.