Sending a dataframe as mail using spark-scala



Hi All,
what is the best way to send an email with attachment from spark scala.
Tried few ready code available but didn’t work.
Below code seems to be promising but still there are some errors which stands unresolved.


Learn Spark 1.6.x or Spark 2.x on our state of the art big data labs

  • Click here for access to state of the art 13 node Hadoop and Spark Cluster