mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-08 01:04:39 +08:00
4b7b2f20f5
This commit improves on nylas/N1#2343 (which allowed From and Reply-To to be different aliases @ the same domain) by allowing the address to differ by a subdomain. For example, the pairs: From: foo@bar.com Reply-To: foo@sub.bar.com From: foo@bar.co.uk Reply-To: foo@other.bar.co.uk From: foo@bar.com Reply-To: foobar@bar.com are each now allowed without warning. |
||
---|---|---|
.. | ||
docs | ||
lib | ||
spec | ||
stylesheets | ||
.gitignore | ||
icon.png | ||
package.json | ||
README.md | ||
screenshot.png |
Phishing Detection
A sample package for Nylas Mail to detect simple phishing attempts. This package display a simple warning if a message's originating address is different from its return address. The warning looks like this:
Install this plugin
-
Download and run N1
-
From the menu, select
Developer > Install a Package Manually...
The dialog will default to this examples directory. Just choose the package to install it!When you install packages, they're moved to
~/.nylas/packages
, and N1 runsapm install
on the command line to fetch dependencies listed in the package'spackage.json
Who is this for?
This package is our slimmest example package. It's annotated for developers who have no experience with React, Flux, Electron, or N1.
To build documentation (the manual way)
cjsx-transform lib/main.cjsx > docs/main.coffee
docco docs/main.coffee
rm docs/main.coffee