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

5htp-email-mailjet

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

5htp-email-mailjet

5HTP module for adding MailJet as a mail transporter.

  • 0.0.1-2
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

MailJet Email Transporter for 5HTP

5HTP module for adding MailJet as a mail transporter.

This module is only compatible with projects based on 5HTP, an experimental Node/TS/Preact full stack framework designed for performance and productivity.

npm npm

Installation

npm i --save 5htp-email-mailjet

Configuration

Step 1: Get an API key on Mailjet

Step 2: Enable the service

Enable this service module in your app by importing it in @/server/index.ts:

import '5htp-email-mailjet';

In @/server/config.ts, add this transporter to the email service configuration:

{
    email: {
        default: {
            ...,
            // By default, use MailJet to send all the email
            transporter: 'mailjet'
        },
        transporters: {
            // Set the API key
            mailjet: {
                api: "<Mailjet API key>"
            }
        }
    }
}

You're done

The email service is now configurated to send emails via your MailJet account.

Keywords

FAQs

Package last updated on 30 Nov 2022

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