davidturner / gulp-mailgun Goto Github PK
View Code? Open in Web Editor NEWMy first ever gulp.js package, allowing users to send mails using Mailgun.
License: MIT License
My first ever gulp.js package, allowing users to send mails using Mailgun.
License: MIT License
Hi! Please help me, I have an error:
Please make sure you have entered your Mailgun API Key in your gulpfile
[23:34:18] 'test' errored after 1.55 s
[23:34:18] Error in plugin 'gulp-mailgun'
Message:
Error: Error: 425
Details:
domainThrown: true
Process finished with exit code 1
gulpfile.js
const gulp = require('gulp');
const $ = require('gulp-load-plugins')();
...
const emailOptions = {
key: 'key-...', // Private API key from https://app.mailgun.com/app/account/security/api_keys
sender: '[email protected]',
recipient: '[email protected]',
subject: 'This is a test email'
};
const sendEmail = () => {
gulp.src('dist/index.html')
.pipe($.mailgun(emailOptions));
};
package.json
"dependencies": {
"gulp": "4.0.2",
"gulp-load-plugins": "2.0.6",
"gulp-mailgun": "0.0.7",
}
node -v && npm -v
v14.15.1
6.14.8
Hi
It could be nice if you'll describe that your plugin needs additional packages
not the problem, just recommendation ;)
Hello there, is anybody having this error using gulp-mailgun?
TypeError: must start with number, buffer, array or string
at fromObject (buffer.js:167:9)
at new Buffer (buffer.js:58:10)
at gulpMailgun...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.