airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Appan Thirumaligai (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AIRFLOW-665) Email Operator not attaching files.
Date Fri, 02 Dec 2016 00:10:58 GMT

     [ https://issues.apache.org/jira/browse/AIRFLOW-665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Appan Thirumaligai updated AIRFLOW-665:
---------------------------------------
    Description: 
I tried to use the email operator and attach a file to it and it didn't work. The email goes
out successfully but the attachment is missing. Here are the steps to reproduce it.

with open('dummy.txt', 'w') as f:
  f.write('dummy attachment')
email = EmailOperator(dag=dag, task_id='test_email', to='user@domain.com', files=['dummy.txt'])


  was:I tried to use the email operator and attach a file to it and it didn't work. The email
goes out successfully but the attachment is missing.


> Email Operator not attaching files.
> -----------------------------------
>
>                 Key: AIRFLOW-665
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-665
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: operators
>    Affects Versions: Airflow 2.0, Airflow 1.8, Airflow 1.7.0
>            Reporter: Appan Thirumaligai
>            Priority: Minor
>              Labels: easyfix
>             Fix For: Airflow 2.0
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> I tried to use the email operator and attach a file to it and it didn't work. The email
goes out successfully but the attachment is missing. Here are the steps to reproduce it.
> with open('dummy.txt', 'w') as f:
>   f.write('dummy attachment')
> email = EmailOperator(dag=dag, task_id='test_email', to='user@domain.com', files=['dummy.txt'])



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message