dvd9604 opened a new issue #16740:
URL: https://github.com/apache/airflow/issues/16740


   Issue:
   `custom_headers` is available as an optional keyword argument in 
`build_mime_message` but it is not exposed in `send_email` or 
`send_email_smtp`. This prevents using custom headers with the email operator 
when using the default smtp backend. 
   
   
https://github.com/apache/airflow/blob/8e2a0bc2e39aeaf15b409bbfa8ac0c85aa873815/airflow/utils/email.py#L105-L116
   
   Expected:
   `send_email` should take optional key word argument `custom_headers` and 
pass it to `send_email_smtp` if that is the selected backend. 
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to