Source: factory.core/ObjChannelmail.py
| Method | Signature | Description |
|---|---|---|
| read | read(channel: str, email: str) |
Reads channel mail data from the database. |
| read_on_guid | read_on_guid(uuid_value: str) |
Reads channel mail data from the database based on the UUID. |
| validate | validate(uuid_value: str = '') |
Validates a channel mail entry. |
| create | create(channel: str, email: str = '') |
Creates a new channel mail entry in the database. |
| update | update() |
Updates the channel mail entry in the database. |
| set_guid | set_guid() |
Sets the GUID for the channel mail entry. |
| mark_visit | mark_visit() |
Marks a channel mail entry as visited. |
| mark_mail | mark_mail(message_content: str = '', description_content: str = '', notes_content: str = '', footer_content: str = '', item_id: int = 0) |
Marks a channel mail entry as mailed. |
| Method | Signature | Description |
|---|---|---|
| read | read(channel: str, age: int = 0) |
Reads a set of channel mail entries from the database. |
| set_guid | set_guid() |
Sets the GUID for all entries in the set. |
| users_to_channel | users_to_channel(channel: str) |
Adds all users to a channel. |
mail(check = 'proof') |
Sends mail to all entries in the set. |
| Method | Signature | Description |
|---|---|---|
| read | read(channel: str = '', context: list = []) |
Reads a direct set of channel mail entries from the database. |
| Method | Signature | Description |
|---|---|---|
| run | run() |
Runs the channel sender. |
| Method | Signature | Description |
|---|---|---|
| patch_param | patch_param(text_to_patch: str, depth: int = 0) -> str |
Patches parameters into a string. |
| update | update() |
Updates the channel stage in the database. |
| read | read(guid_in: str, context = None) |
Reads a channel stage from the database. |
| render | render(context: dict = None) |
Renders the channel stage. |
| Method | Signature | Description |
|---|---|---|
| create | create() |
Builds the channel stage set. |
| read | read(input_guid: str = '', context = None) |
Reads a channel stage set from the database. |
| Build | Build() |
Builds the channel stage set. |
| ActionResponses | ActionResponses() |
Actions the responses from the bloom table. |
| launch_service | launch_service(thread_count_value: str = 'worker') |
Launches the channel mail service. |
| micro_service | micro_service(role = '') |
Runs the channel mail microservice. |
| run_direct | run_direct(context: dict = None, channel: str = '', guid: str = '') |
Runs a direct channel mail. |
Stages a channel.
Runs the channel mail microservice.
Runs a direct channel mail.
Sends a test email.