Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@things-factory/email-base

Package Overview
Dependencies
Maintainers
11
Versions
815
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package version was removed
This package version has been unpublished, mostly likely due to security reasons

@things-factory/email-base

unpublished
Source
npmnpm
Version
9.0.49
Weekly downloads
1.3K
-24.8%
Maintainers
11
Weekly downloads
 
Created
Source

email-base

1. email connection configuration

{app_root}/config.[mode].js

module.exports = {
  email: {
    host: 'smtp.office365.com',
    port: 587,
    secure: false, // true for 465, false for other ports
    auth: {
      user: 'account@emailhost',
      pass: 'password'
    },
    secureConnection: false,
    tls: {
      ciphers: 'SSLv3'
    },
    sender: 'sender-account@emailhost' // if not set, auth.user will be the sender
  }
}

2. send email as virtual user (e.g. noreply@hatiolab.com)

  • add member into shared mailbox
  • call sendEmail function with shared mailbox address as sender paramerter
    (e.g. sendEmail({sender: noreply@hatiolab.com}) )

FAQs

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