Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fye/email

Package Overview
Dependencies
Maintainers
4
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fye/email

Send emails with this package using Mandrill

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
4
Weekly downloads
 
Created
Source

@fye/email

Send emails with this package using Mandrill

Install

yarn add @fye/email

or

npm install @fye/email

Usage

const { sendEmail } = require('@fye/email');

const opts = {
  emailFrom: 'emailFrom@fye.com',
  emailTo: ['emailTo@fye.com'],
  emailReplyTo: 'emailReplyTo@fye.com',
  subject: 'Email Subject',
  emailHtml: '<p>Email body here<p>',
  attachments: [
    {
      type: 'text/csv',
      name: `test-attachement.csv`,
      content: Buffer.from(
        'heading1,heading2\ndata1,data2',
        'utf8',
      ).toString('base64'),
    },
  ],
  mandrillApiKey: 'my-mandrill-key',
};

const result = sendEmail(opts);

FAQs

Package last updated on 16 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc