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

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

[~kaxilnaik] the bug is because Task failure emails do support splitting a 
string on comma or semi-colon, but SLA miss emails trigger a different code 
path and don't split it.

> Email on sla miss is send only to first adress on the list
> ----------------------------------------------------------
>
>                 Key: AIRFLOW-3012
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3012
>             Project: Apache Airflow
>          Issue Type: Bug
>    Affects Versions: 1.9.0
>            Reporter: Marek Kowal
>            Priority: Major
>
> Description:
> I store email recipients as a variable, test_recipient: te...@test.com, 
> [te...@test.com|mailto:te...@test.com]
> With such dag definition:
> {code:java}
> email = Variable.get("test_recipients")
> args = {
>     'owner': 'airflow'
>     , 'depends_on_past': False
>     , 'start_date': datetime(2018, 8, 20, 0, 0)
>     , 'retries': 0
>     , 'email': email
>     , 'email_on_failure': True
>     , 'email_on_retry': True
>     , 'sla': timedelta(seconds=10)
> }{code}
> On sla miss email is send only to the first person on the list, in my example 
> [te...@test.com|mailto:te...@test.com]
> to reproduce:
> create email list variable as string and wait for sla miss



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to