Function sendMail

  • Sends an email using the provided parameters.

    Parameters

    • params: Mail

      The parameters for sending the email.

    Returns Promise<boolean>

    A promise that resolves to true if the email was sent successfully, and false otherwise.