JSPM

oplus.smtp

1.0.2-pre
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 1
    • Score
      100M100P100Q36331F
    • License ISC

    Send SMTP messages easily

    Package Exports

    • oplus.smtp
    • oplus.smtp/index.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 (oplus.smtp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    oplus.smtp

    Send SMTP easily!

    Installation :

    npm i oplus.smtp

    Usage :

    const smtp = require("oplus.smtp");
    
    smtp.sender({
      host: "Host adress",
      port: "Host port",
      authUser: "Host username",
      authPass: "Host password",
      fromName: "Mail from name",
      fromMail: "Mail from adress",
      toMail: "Mail to adress",
      subject: "Mail subject",
      text: "Mail text",
      html: "Mail html"
    })

    NOTICE : This is still pre and on development, some issues can happen