tl-soonam-panda opened a new issue #16938:
URL: https://github.com/apache/airflow/issues/16938


   
   **Apache Airflow version**: v2.0.1
   
   **What happened**:
   
   I am trying to configure airflow to send an email using AWS SES(HTTP not 
SMTP) email backend. The configuration is done according to 
https://airflow.apache.org/docs/apache-airflow/stable/howto/email-config.html. 
But I always get an error "Invalid type for parameter Source".  
   This comes from AWS API where it validates the input source/from-email 
parameter, which should not be null. But, the airflow email API does not send 
this parameter code snippet below(ref: 
https://github.com/apache/airflow/blob/main/airflow/utils/email.py). So my 
question is how to send the source/from-email parameter. Is there any 
configuration parameter airflow config file or it takes from AWS IAM 
credential. I am using AWS IAM credential set with 
AIRFLOW__EMAIL__EMAIL_CONN_ID parameter in airflow.
   
   
   <!-- To reproduce the issue -->
   1. Try to configure SES HTTP API backend from airflow
   2. Create one EmailOperator and pass all the credentials.
   3. Internally the backed will be loaded and aws/ses.py will be called and 
the error will be thrown.
   


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