Skip to content

Support email sending in single-run mode #64

@chicco785

Description

@chicco785

Describe the issue

I would like to be able to send email including the generated report within single-run mode. This would be very useful to schedule job generation reports in a k8s and send reports to no IT users.

Would you accept a PR?

Application call

  • type of call: single-run

Template file

N/A

Configuration file

This is the proposed configuration addition:

email:
  enabled: true
  smtp_address: smtp.freesmtpservers.com
  smtp_port: 25
  from: outgoing@example.com
  body: Top report is top top here
  subject: Report subject
  enable_starttls_auto: true
  to: 
    - incoming@example.com

smtp user and passwords should be loaded from env variables

Environment (please complete the following information):

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions