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

@antistatique/postally

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antistatique/postally

AiO email creator and delivery system

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

📯 Postally

AiO email creator and delivery system

Prerequisites

Your project need NodeJS 8+.

Postally are using the following libraries to offer an AiO email system :

To help your Email creation process, you can take a look at :

Usage

Then, you can simply use it this way :

const postally = require('@antistatique/postally');

// Email (Twig/Inky) markup
const markup = `
  <container>
    <row>
      <columns align="left">
        <h1>Hello {{name}}</h1>
      </columns>
    </row>
  </container>
`;

// Custom and Foundation Email SASS variables
const variables = `
  $primary-color: #0ECEE1 !default;
`

// Custom (S)CSS
const styles = `
  body { background: $primary-color; }
  h1 { font-family: Georgia, serif;}
`

postally({
  from: 'from@example.org',
  to: 'to@example.org',
  subject: 'Postally is amazing !',
  data: { name: 'You' },
  markup,
  variables,
  styles,
  sendgrid_api_key: 'XXXXXXXXXXXXX',
}).then((status) => { console.log('Success !', status); });

FAQs

Package last updated on 07 Nov 2017

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