darkag opened a new issue, #65012:
URL: https://github.com/apache/airflow/issues/65012

   ### Under which category would you file this issue?
   
   Airflow Core
   
   ### Apache Airflow version
   
   3.2.0
   
   ### What happened and how to reproduce it?
   
   Until 3.1.8, "email_on_failure" used the email_backend configured in the 
airflow.cfg. 
   
   Since 3.2.0, email_on_failure is deprecated and mails are send using 
smtpnotifier who try to send mails with default_stmp connection, bypassing the 
configured email_backend and email_conn_id. Since as far as I've seen, there is 
no way to configure an other notifier by default, it forces us to pass in all 
our dags to use on_error_callback before migrating.
   
   
   
   ### What you think should happen instead?
   
   Since deprecation of email_on_failure comes with, it should continue to work 
as in 3.1.8 (or at least without the cost to fix every dags)
   
   ### Operating System
   
   _No response_
   
   ### Deployment
   
   None
   
   ### Apache Airflow Provider(s)
   
   _No response_
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Official Helm Chart version
   
   Not Applicable
   
   ### Kubernetes Version
   
   _No response_
   
   ### Helm Chart configuration
   
   _No response_
   
   ### Docker Image customizations
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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