BasPH commented on code in PR #28845:
URL: https://github.com/apache/airflow/pull/28845#discussion_r1068582637


##########
docs/apache-airflow/howto/email-config.rst:
##########
@@ -29,7 +29,27 @@ in the ``[email]`` section.
   subject_template = /path/to/my_subject_template_file
   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.
+Equivalent environment variables looks like

Review Comment:
   ```suggestion
   Equivalent environment variables look like:
   ```



##########
docs/apache-airflow/howto/email-config.rst:
##########
@@ -29,7 +29,27 @@ in the ``[email]`` section.
   subject_template = /path/to/my_subject_template_file
   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.
+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

Review Comment:
   ```suggestion
   You can configure a sender's email address by setting ``from_email`` in the 
``[email]`` section like:
   ```



##########
docs/apache-airflow/howto/email-config.rst:
##########
@@ -29,7 +29,27 @@ in the ``[email]`` section.
   subject_template = /path/to/my_subject_template_file
   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.
+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 <[email protected]>
+
+Equivalent environment variables looks like

Review Comment:
   ```suggestion
   Equivalent environment variables look like:
   ```



##########
docs/apache-airflow/howto/email-config.rst:
##########
@@ -29,7 +29,27 @@ in the ``[email]`` section.
   subject_template = /path/to/my_subject_template_file
   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.
+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 <[email protected]>

Review Comment:
   ```suggestion
     from_email = "[email protected]"
   ```
   
   Would remove "From email" to show a valid email structure.



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