Install libghc-smtp-mail-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-smtp-mail-dev
Description:
Simple email sending via SMTP
Simple SMTP client implementation for Haskell applications. . SMTP with and without authentication are supported, also sending of attachments. . Optionally, mails can also be handed over to sendmail. . This package provides a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.
Homepage: http://github.com/jhickner/smtp-mail
Version: 0.1.4.6-1build2
Section: universe/haskell