Skip to content

Add input validation to email_config.json fields #6

@BereGabor

Description

@BereGabor

Add input validation to email_config.json fields:

  • template_dir: exists and contain a mail_template.html
  • send_from: an email address.
  • send_to: email address list with , separator
  • subject: not empty string
    -named_ranges: named ranges list with , separator. Syntax can read in README.MD
    -cell_values: cell value list with , separator. Syntax can read in README.MD
    -add_attachment: boolean value: true or false.
    -attachment_file_name: valid file name with xlsx extension.

Input validation run before core business logic execution. Implement in separated class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions