hussein-awala opened a new pull request, #46219: URL: https://github.com/apache/airflow/pull/46219
This PR introduces some breaking changes to SMTP provider: The argument ``from_email`` is now an optional kwarg in ``SmtpNotifier``, and the argument ``to`` became the first positional argument. Configuring the ``SmtpNotifier`` and ``SmtpHook`` default values via Airflow SMTP configurations is not supported anymore. You can instead use the SMTP connection configuration to set the default values, where you can use: * the connection extra field ``ssl_context`` instead of the configuration ``smtp_provider.ssl_context`` or ``email.ssl_context`` in the SMTP hook. * the connection extra field ``from_email`` instead of the configuration ``smtp.smtp_mail_from`` in ``SmtpNotifier``. * the connection extra field ``subject_template`` instead of the configuration ``smtp.templated_email_subject_path`` in ``SmtpNotifier``. * the connection extra field ``html_content_template`` instead of the configuration ``smtp.templated_html_content_path`` in ``SmtpNotifier``. -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org