airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ash Berlin-Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-1723) Support sendgrid in email backend
Date Tue, 17 Oct 2017 19:40:00 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-1723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16208214#comment-16208214
] 

Ash Berlin-Taylor commented on AIRFLOW-1723:
--------------------------------------------

Oh. It _is_ pluggable already!

{noformat}
[email]
email_backend = airflow.utils.send_email_smtp
{noformat}

https://github.com/apache/incubator-airflow/blob/cdfced3248c7f14b639919c093f4f3042deb754b/airflow/utils/email.py#L37-L44
for details of what the interface is. The setting for email_backend is "module.submodule.function"

> Support sendgrid in email backend 
> ----------------------------------
>
>                 Key: AIRFLOW-1723
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1723
>             Project: Apache Airflow
>          Issue Type: New Feature
>          Components: utils
>    Affects Versions: 1.9.0
>            Reporter: Feng Lu
>            Assignee: Feng Lu
>            Priority: Minor
>
> Current airflow email backend only supports SMTP, this PR aims to extend email backend
and integrate with sendgrid. The airflow config file is also updated to include a [sendgrid]
section where user can specify api_key and mail_from. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message