You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jayaradha (JIRA)" <ji...@apache.org> on 2018/04/13 18:45:00 UTC

[jira] [Created] (AIRFLOW-2322) Email Operator attachment

Jayaradha created AIRFLOW-2322:
----------------------------------

             Summary: Email Operator attachment
                 Key: AIRFLOW-2322
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2322
             Project: Apache Airflow
          Issue Type: Bug
          Components: operators
            Reporter: Jayaradha


success_email = EmailOperator(
 task_id='SendEmail',
 to='test@test.com',
 subject = 'Email subject  \{{ ds }}'
 html_content='<p>Text Content. </p> <br> Thanks, <br> Admin',
 files=['/home/ec2-user/data/\{{ ds }}' + filename],
 dag=dag
)

using \{{ ds }}  inside attachment list is not working - /home/ec2-user/data/\{{ ds }} 



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