generated from ScottyLabs/fullstack-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: in progress mailgun integration
- Loading branch information
1 parent
e463e34
commit 70314b2
Showing
4 changed files
with
5,601 additions
and
4,025 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import FormData from 'form-data'; | ||
import Mailgun from 'mailgun.js'; | ||
|
||
const mailgun = new Mailgun(FormData); | ||
|
||
export const mg = mailgun.client({ | ||
username: 'api', | ||
key: process.env.MAILGUN_API_KEY || 'key-yourkeyhere' | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.