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

koreografeye-email

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koreografeye-email

An plugin to send an email to an address.

  • 1.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

Koreografeye Email plugin

An plugin to send an email to an address.

Install

npm install koreografeye-email

Change the config.jsonld configuration file and add the plugin definition.

In @context add "https://linkedsoftwaredependencies.org/bundles/npm/koreografeye-email/^1.0.0/components/context.jsonld".

Add the plugin definition:

{
  "@id": "http://example.org/sendEmail",
  "@type": "SendEmailPlugin",
  "host": "mail.gmx.com",
  "port": 465,
  "secure": true,
  "user": "yourusername",
  "password": "********"
}

Usage

The Koreografeye N3 rules should produce a ex:sendEmail policy to trigger this plugin. An example N3 rule file is provided below:

@prefix ex:   <http://example.org/> .
@prefix as:   <https://www.w3.org/ns/activitystreams#> .
@prefix pol:  <https://www.example.org/ns/policy#> .
@prefix fno:  <https://w3id.org/function/ontology#> .
@prefix string: <http://www.w3.org/2000/10/swap/string#> .

{
  ?id a as:Update .
}
=>
{
  ex:MyEmailPolicy pol:policy [
      a fno:Execution ;
      fno:executes ex:sendEmail ;
      ex:to "patrick.hochstenbach@gmail.com" ;
      ex:from "patrick_hochstenbach@gmx.net" ;
      ex:subject "A new resource was created!" ;
      ex:body "You got a new notification"
  ] .
}.

FAQs

Package last updated on 28 Jun 2023

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