How to send mail alter with out using SMTP and Databricks Alert?

Ravi Sai Somasekhar Mahasiva 21 Reputation points
2023-01-19T16:15:21.5266667+00:00

Hi Team,

Could you please help me that how to send an mail alert with stderr log file in Databricks.
Please help me on that below points:

  1. Is it possible to send an email from Databricks without using SMTP and Databricks alert, please help me with the steps.
  2. If I want to send an email from error message in Databricks with SMTP, Could you help me with the steps.

Thanks

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
1,844 questions
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 73,651 Reputation points Microsoft Employee
    2023-01-27T05:06:26.4633333+00:00

    Hello @Ravi Sai Somasekhar Mahasiva,

    Is it possible to send an email from Databricks without using SMTP and Databricks alert, please help me with the steps.

    Yes, you have to use some kind of API service.

    If I want to send an email from error message in Databricks with SMTP, Could you help me with the steps.

    Yes, you have to use some smtp library

    Below is a blog that you can use to get started: https://databitsdigital.wordpress.com/2020/10/14/sending-e-mail-notifications-directly-from-azure-databricks-using-sendgrid/

    Hope this helps.