JSPM

mailermanager

0.0.1
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • 0
    • Score
      100M100P100Q11614F
    • License ISC

    This class contains the configuration for the mail server and send emails

    Package Exports

    • mailermanager
    • mailermanager/MailManager.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mailermanager) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    This application uses the nodemailer framework for the configuration and sending of emails. To use this application, check that the email account has the option of less secure applications enabled. This feature is in public email services like gmail, yahoo or hotmail. Open the config/mconfig file and enter the credentials to access the mail service, the recipients, the subject and the message. This message can be of type text or html, if this tag does not exist the program will throw an exception. Example:

    const mm = require('MailManager')

    if (mm.verifyConnection()) { mm.sendMail() }