Skip to content

Python APIs in backend #1

@dotbugfix

Description

@dotbugfix

init_excel_file(file_stream)
get_excel_headers(): list of strings
init_pdf_dir(path, file_name_mapping) (file_name_mapping is str "{col1}_{col2}")
set_email_metadata(to_col, cc_column, subject_template, body_template)
set_email_server(from_email, reply_to_email, server_addr, server_port, username, password)

get_report_summary(): [{donor, beneficiary, to, cc, report_pdf_name, email_subject, email_body)]
send_test_email({same_dict}, test_email_address)
send_emails({same_dict})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions