potiuk commented on code in PR #28845: URL: https://github.com/apache/airflow/pull/28845#discussion_r1066481456
########## docs/apache-airflow/howto/email-config.rst: ########## @@ -28,8 +28,28 @@ in the ``[email]`` section. email_backend = airflow.utils.email.send_email_smtp subject_template = /path/to/my_subject_template_file html_content_template = /path/to/my_html_content_template_file + +Equivalent environment variables looks like + +.. code-block:: + + AIRFLOW__EMAIL__EMAIL_BACKEND=airflow.utils.email.send_email_smtp + AIRFLOW__EMAIL__SUBJECT_TEMPLATE=/path/to/my_subject_template_file + AIRFLOW__EMAIL__HTML_CONTENT_TEMPLATE=/path/to/my_html_content_template_file + +You can configure sender's email address by setting ``from_email`` in the ``[email]`` section like + +.. code-block:: ini + + [email] + from_email = From email <em...@example.com> + +Equivalent environment variables looks like + +.. code-block:: -You can configure sender's email address by setting ``from_email`` in the ``[email]`` section. + AIRFLOW__EMAIL__FROM_EMAIL=From email <em...@example.com> Review Comment: ```suggestion AIRFLOW__EMAIL__FROM_EMAIL="From email <em...@example.com>" ``` -- 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