id author title date pages extension mime words sentences flesch summary cache txt www-npmjs-com-9023 emailjs - npm .html text/html 1373 194 68 send emails, html and attachments (files, streams and strings) from node.js to any smtp server npm install emailjs works with SSL and TLS smtp servers supports smtp authentication ('PLAIN', 'LOGIN', 'CRAM-MD5', 'XOAUTH2') supports sending html emails and emails with multiple attachments (MIME) attachments can be added as strings, streams or file paths EXAMPLE USAGE html emails and attachments host: 'smtp.your-email.com', host: 'smtp.your-email.com', // or instead of using the built-in client you can create an instance of 'smtp.SMTPConnection' EXAMPLE USAGE attaching and embedding an image import { SMTPClient, Message } from 'emailjs'; import { SMTPClient, Message } from 'emailjs'; const client = new SMTPClient({ const client = new SMTPClient({ SMTPClient#send(message, callback) // or an object identical to the first argument accepted by email.message.create new Message(headers) Message#attach(options) alternative, // if true, will be attached inline as an alternative (also defaults type='text/html') associative array of currently supported SMTP authentication mechanisms ./cache/www-npmjs-com-9023.html ./txt/www-npmjs-com-9023.txt